-----BEGIN PGP SIGNED MESSAGE-----
Corne Lombaard wrote:
| Please can someone help me?
| I get the following error message when I start the rails server and I
| click on About your application environment.
| Errno::ENOENT in Rails/infoController#properties
| No such file or directory - /tmp/mysql.sock
| RAILS_ROOT: /home/corne/Studies/Ruby/Sites/demo
| If I did a mysql> show variables like ‘%sock%’ I get
| the following:
| I do not know anything about Ruby, Linux, Sockets or the rest. Please
| can someone tell me where to put this information or how do I setup my
| database so that it works with Ruby?
A quick Google shows this link:
http://abstractplain.net/blog/?p=973, which mentions that you can
modify the database.yml file to include a path to your socket file.
Also, Rails questions (and this is a question about Rails, and not a
general ‘Ruby and SQL’ question) are better off asked to the Rails
You were ever good at sudden commendations.
~ – William Shakespeare (1564-1616), King Henry VIII
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----