Нет никакой потребности переустановить MySQL. Можно просто создать нового пользователя root и сбросить полномочия в MySQL, как описано в http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html.
To make sure, your SMTP information should look like this:
# Correct configuration to get this working is:
config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:address => 'smtp.gmail.com',
:port => 587,
:domain => 'whatever.yourrubyapp.com',
:authentication => :plain,
:user_name => 'username@gmail.com',
:password => 'password'
}