[Rails] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

2011-03-13 Thread korssane korssane
Hi peers, i am facing a problem .. trying to test a website locally ..some pages work fine but some others calling MySQl give me the following errors : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' what i have noticed : 1- no socket file in the

Re: [Rails] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

2011-03-13 Thread Curtis j Schofield
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' database.yml for mysql defaults to this you can change it with socket: /var/run/mysqld/mysqld.sock what i have noticed : 1- no socket file in the /var/lib/mysql/mysql.sock under /var/lib/mysql/. 2- i was