config database with mysql