Forum: Ruby on Rails Sql error using MAMP with rails 1.1

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gopal B. (Guest)
on 2006-03-28 16:10

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

  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.

This topic is locked and can not be replied to.