Topic: MySQL help!

Hi there,
I am trying to set up my rails environment on my mac (OSX leopard) I have installed MySQL and it works fine with CocoaMySQL. I have edited the database.yml file to represent my databases. But, when i try and run ./script/server, i get an error when it tries to connect to the database?It seems the problem is in the custom_require.rb file, on line 27:   
gem_original_require path
Does anyone have any ideas about whats going wrong?
Thank You,

Dave

Last edited by daveh23 (2007-11-24 18:03:13)

Re: MySQL help!

Hello again,

Problem solved, just to let you know how it was fixed:
I added a line to the end of each database in the database.yml file,
  socket: /tmp/mysql.sock
and this solved it,
Thanks anyway,
Dave