public static void connSQL() {
		String url = "jdbc:mysql://localhost:3306/men?characterEncoding=UTF-8";
		String username = "date";
		String password = "date"; // ݿ
		try {
			Class.forName("com.mysql.jdbc.Driver");
			conn = DriverManager.getConnection(url, username, password);
			System.out.println("ݿӳɹ");
		}
		// 쳣
		catch (ClassNotFoundException cnfex) {
			System.err.println("װ JDBC/ODBC ʧܡ");
			cnfex.printStackTrace();
		}
		// ݿ쳣
		catch (SQLException sqlex) {
			System.err.println("޷ݿ");
			sqlex.printStackTrace();
		}
	}