Setting mysql for database