Sql error using MAMP with rails 1.1

Hi,

I am newbie and i am using MAMP with rails for trying out few things in
web development.

I just upgraded to rails 1.1 and created a new rails depot project and
when i just gone to change my database.yml, I get this


development:
adapter: mysql
database: depot_development
username: root
password: root
host: localhost

and I added

socket: /Applications/MAMP/tmp/mysql/mysql.sock to the end of database.

and if i generate scaffold i get this error

*Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
(2) *

how can i connect my MAMP socket to the database.yml file and go on with
the project.

thanx
g.balaji

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs