[rt-users] Installing on Redhat 7.2

Neil Bingham neil.bingham at pace.co.uk
Mon Jul 15 11:11:39 EDT 2002

> On Monday 15 July 2002 3:34 pm, Neil Bingham wrote:
> > [Mon Jul 15 15:25:12 2002] [error] Connect Failed Can't 
> connect to local
> > MySQL server through socket '/tmp/mysql.sock' (2)
> >  at /usr/local/rt2/lib/RT.pm line 27
> hmm...
>   I'd be rather suprised to find the mysql socket in /tmp. 
> Something like 
> /var/lib/mysql/mysql.sock is far more likely. Check the setting in 
> /etc/my.conf, which should be something like
> [mysqld]
> socket=/var/lib/mysql/mysql.sock
> Then check that your perl modules are pointing to the same place.

You're right.  MySQL is configured to use /var/lib/mysql/mysql.sock.

Just symlinking /tmp/mysql.sock to that file makes it work.  I've grep'd
down through all the RT source and can't find a reference to /tmp/mysql.sock

Searching the /usr/lib/perl5 doesn't produce a match either.



More information about the rt-users mailing list