private String columnIp;
private String columnLastLogin;
private MiniConnectionPoolManager conPool;
public MySQLDataSource() throws ClassNotFoundException, SQLException {
Settings s = Settings.getInstance();
this.host = s.getMySQLHost();
this.port = s.getMySQLPort();
this.username = s.getMySQLUsername();
this.password = s.getMySQLPassword();
this.database = s.getMySQLDatabase();
this.tableName = s.getMySQLTablename();
this.columnName = s.getMySQLColumnName();
this.columnPassword = s.getMySQLColumnPassword();
this.columnIp = s.getMySQLColumnIp();
this.columnLastLogin = s.getMySQLColumnLastLogin();
connect();
setup();
}