public class mysql { public static String url = "jdbc:mysql://localhost:3306/test";//characterEncoding=GBK public static String username = "root"; public static String password = "root"; public static Connection con; public static Statement stmt; public static ResultSet rs;