[rt-users] Can't connect to local MySQL server through socket

Scott McClelland smcclell at vortexdata.com
Tue May 8 15:04:06 EDT 2001


I setup MySQL 3.23 from an rpm, and created a /etc/my.cnf file with the
parameter for the mysql.sock file
socket=/var/lib/mysql/mysql.sock

I am able to connect with mysqladmin, as described in the mysql
documentation,
http://www.mysql.com/doc/C/a/Can_not_connect_to_server.html
but rt is still trying to connect through  /tmp/mysql.sock.

Here is the output:

[root at redhat03 bin]# ./rtadmin queue -create admin   
Mysql->connect(database=rt;host=localhost) failed: Can't connect to local
MySQL server through socket '/tmp/mysql.sock' (111) 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' (111)
[root at redhat03 bin]# 

Any idea why?


/*------------------------------------------
Scott McClelland, CNE, MCP
Network Administrator
Vortex Data Systems 
http://www.vortexdata.com
--------------------------------------------*/






More information about the rt-users mailing list