fix rails mysql database config