modified mysql config to use database connection pool