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
>>> calling MySQl give me the following errors :
>> 
>> If by 'calling mysql' you mean when your app tries to use mysql then
>> check that the socket option in database.yml is correct.
>> 
>> Fred
>>> 
>>> 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 on your system

Fred
> any other suggestions ?
> 
> 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.
> 

-- 
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