hi, all…
each day, as far as i can tell, i run into this problem the first thing
in the morning…
when i got to my site, i get a rails application error…
i check my logs, and i get this:
Errno::ENOENT (No such file or directory - /var/lib/mysql/mysql.sock):
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/vendor/mysql.rb:104:in
`initialize’
the weird thing is… the act of checking my logs makes my site suddenly
working…
my database.yml looks like this…
production:
adapter: mysql
database: xxx
username: xxx
password: xxx
host: localhost
socket: /var/lib/mysql/mysql.sock
anyone have any ideas?
thanks!