Using the mamp mysql database

I have this config file:

development:
    adapter: mysql
    database: rubyonrails
    username: root
    password: root
    timeout: 5000
    socket: /Applications/MAMP/tmp/mysql/mysql.sock

But when i hit About your application’s environment in the default
index page on http://0.0.0.0:3000/ i get an error.
Could somebody help me?

Thanks

I have this config file:

development:
adapter: mysql
database: rubyonrails
username: root
password: root
timeout: 5000
socket: /Applications/MAMP/tmp/mysql/mysql.sock

But when i hit About your application’s environment in the default
index page onhttp://0.0.0.0:3000/i get an error.

Which error? Do you have the mysql gem installed ?

Fred

can you send the stack trace of the error... or few more details
then may be we can help you.