Hello J,
Your running (or installed) mysql from a unix distribution, rather
than compiling it from source. This means that the distribution has
decided to put the socket file someplace.. ''unique'' ;) Look in
your
my.cnf (usually located in /etc/ or /etc/mysql) and look for the
''socket'' line. Ubuntu usually puts the socket file in
/var/run/mysqld/mysqld.sock. If you don''t want to have lots of
heartache
and hardship, you can either edit the my.cnf to put the socket file in
/tmp/ or you can create a symbolic link (ln -s
/var/run/mysqld/mysqld.sock /tmp/mysqld.sock)
I assume this makes sense ? :)
Regards
Stef
J Cook wrote:> Sort of a noob question:
>
> I keep getting the following error:
>
> No such file or directory - /tmp/mysql.sock
>
> RAILS_ROOT: ./script/../config/../
>
> from the downloaded code for Agile''s depot app. Could someone
point me
> in the right direction?
>
> J
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>