Getting mysql.sock error

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

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’ :wink: 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