[rt-users] RT question 2
ra at letras.de
Thu Oct 19 12:28:10 EDT 2000
> what does this mean?
> Mysql->connect(database=rt;host=localhost) failed: Can't connect to local
> MySQL server through socket '/tmp/mysql.sock' (2) at
> /usr/local/rt/lib/rt/database.pm line 24
> [connectdb] Database connect failed: Can't connect to local MySQL server
> through socket '/tmp/mysql.sock' (2)
Something has killed the socket file Applications use to talk with
mysql - maybe some script like tmpwatch. Quick fix: Restart mysql.
Long term solution: Change the script which starts mysql. On many
distributions MySQL seems to have /tmp/mysql.sock compiled in - in a
directory where it is prone to be deleted by maintenance scripts.
But you can give mysql a different socket file by starting it with
the option --socket. Take a look at 'mysql --help'.
Ralph Angenendt | "Military justice is to justice what military
http://www.letras.de | music is to music"
ra at letras.de | -- Groucho Marx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 232 bytes
Desc: not available
More information about the rt-users