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 /var/lib/mysql/mysql.sock under
/var/lib/mysql/.

2- i was able to locate mysqld.sock file in the following folder

 Variable_name | Value                       |
+---------------+-----------------------------+
| socket        | /var/run/mysqld/mysqld.sock


3- i tried to change the location to the /var/lib/mysql/mysql.sock'
folder
in both my.cnf & debian.cn f files  but no result ...


still getting the same error when testing ..


any help wil much appreciated

thanks

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to