Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'
hi ,
In my database.yml i have the following :
socket: /var/lib/mysql/mysql.sock
but the file itself is missing in the specified location.
Change database.yml to reflect wherever the socket is
Can you connect to mysql outside of rails?
mysql -S /var/run/mysqld/mysqld.sock -u username -p
mysql -h hostname -u username -p password database_name
-Fredrik
On Mar 14, 8:16 am, korssane korssane li...@ruby-forum.com wrote:
Magesh Sathasiva pandian wrote in post #987274:
but the
Fredrik wrote in post #987341:
Can you connect to mysql outside of rails?
mysql -S /var/run/mysqld/mysqld.sock -u username -p
mysql -h hostname -u username -p password database_name
-Fredrik
thank you guys,
not sure what happend but it is working now..
mysqld.sock is there
Thnsk again
--
On Mar 13, 1:55 pm, korssane korssane li...@ruby-forum.com wrote:
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 :
If by 'calling mysql' you mean when your app tries to use mysql then
Frederick Cheung wrote in post #987179:
On Mar 13, 1:55pm, korssane korssane li...@ruby-forum.com wrote:
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 :
If by 'calling mysql' you mean
On 13 Mar 2011, at 16:51, korssane korssane li...@ruby-forum.com wrote:
Frederick Cheung wrote in post #987179:
On Mar 13, 1:55pm, korssane korssane li...@ruby-forum.com wrote:
Hi peers,
i am facing a problem ..
trying to test a website locally ..some pages work fine but some others
6 matches
Mail list logo