public Connection getDbConnection() {
		if (dbConnection == null) {
			// load the MySQL driver
			try {
				Class.forName("com.mysql.jdbc.Driver");
			} catch (ClassNotFoundException e) {
				log4jLogger.error(e.getMessage());
				e.printStackTrace();
			}
			
			// Setup the connection with the DB
			try {
				dbConnection = DriverManager.getConnection(
					Conca.t("jdbc:mysql://localhost/", dbName, "?user=", username, "&password=", password, "&autoReconnect=true")
				);
				
			} catch (SQLException e) {
				log4jLogger.error("Error establishing database connection", e);
			}
		}
		return dbConnection;
	}