[rt-users] RT question 2
Ralph Angenendt
ra at letras.de
Thu Oct 19 12:28:10 EDT 2000
dkillebrew wrote:
> what does this mean?
> ./rtadmin
> 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
--
__________________________________________________________________________
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
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20001019/50243074/attachment.sig>
More information about the rt-users
mailing list