public boolean openDb() {
		String dbUrl = "jdbc:mysql://" + dbServer + ":3306/" + dbName;
		try {
			Class.forName("com.mysql.jdbc.Driver");
			// DriverManagergetConnection()һConnection
			conn = DriverManager.getConnection(dbUrl, dbUserName, dbPassword);
			// һStatement
			System.out.print("Connect " + dbServer + " Server Success.\n");// ӳɹ
			return true;
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
			System.out.println("޷mysql driver!");
			return false;
		} catch (SQLException e) {
			e.printStackTrace();
			System.out.println("ݿ" + dbUrl + "ʧ!");
			return false;
		}
	}