[rt-users] Re: can't connect to mysql.sock?

Drew Mooney dmmooney at earthlink.net
Fri Sep 6 14:58:52 EDT 2002


Further to this - I AM able to connect to mysql via the command line as user
'rtadm' [the rt user and group name at my site]. Which 'user' is trying to
connect to mysql via the apache DBI?

On Fri, 06 Sep 2002 11:52:36 -0700 dmmooney at earthlink.net wrote:

Apache & Mysql both _appear_ to be running fine.



However, whenever I attempt to connect to the webui, I get this message:



DBI->connect(dbname=rt2;host=localhost) failed: Can't connect to local MySQL
server through socket '/usr/local/mysql/var/mysql.sock'

 (13) at /usr/local/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Handle.pm
line 117

[Fri Sep  6 13:36:32 2002] [error] Connect Failed Can't connect to local MySQL
server through socket '/usr/local/mysql/var/mysql.soc

k' (13)

 at /opt/rt/rt2/lib/RT.pm line 27



[sorry if this comes in a bit scrambled - I'm on a webmail interface and it
looks ugly]



Any ideas? If more input [config files, file permissions, etc.] needed, please
let me know!



Best regards,



Drew M. Mooney




More information about the rt-users mailing list