FC4 > FC5 deployment problem

I upgraded my box from FC4 to FC5, now when I visit the url for my app I get,

Application error (Rails)

This is the production log file,

Errno::ENOENT (No such file or directory - /tmp/mysql.sock):

/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/vendor/mysql.rb:104:in
`initialize'

MySQL is up and running, everything was fine on FC4...

This is my database.yml
production:
  adapter: mysql
  database: sales
  username: myuser
  password: mypw
  host: localhost

Jim

It could be that the location of the mysql socket has changed.
do a locate mysql.sock and see what you find. If it has gone to
another location either add the socket to your database config or
symlink the old location to the new one.

ross

It should be /usr/lib/mysql/mysql.sock if I remember correctly.

-Pratik

on my fc5 system, it's at /var/lib/mysql/mysql.sock

Oops..my bad. It's /var of course.

Thanks,
Pratik