working mysql database configuration