Rails 3.o MYSQL connection problem
Posted
by palani
on Stack Overflow
See other posts from Stack Overflow
or by palani
Published on 2010-06-11T06:03:07Z
Indexed on
2010/06/11
6:13 UTC
Read the original article
Hit count: 317
mysql
|ruby-on-rails
Hi I have installed RVM in my ubunut linux box and configured the Rails 3 app in that ... i can able to start app server... my problem is when i invoke http://localhost:3000 . i getting the follwing error
Mysql::Error (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)):
I checked mysqld service is running well.
I checked my database.yml file .... the defined well
development: adapter: mysql encoding: utf8 reconnect: false database: test_development username: root password: admin socket: /var/run/mysqld/mysqld.sock
my installed mysql gem version is 2.8.1.... I really don't know what is the problem here....
© Stack Overflow or respective owner