Hi,

I installed a fresh copie of MySQL 4.0.21 on Solaris 8 (Sparc). I did put
the following in the my.cnf file:

==================================
[mysqld]
User=mysql
Port=3306
Socket=/usr/local/mysql/mysql.sock
log

[client]
socket=/usr/local/mysql/mysql.sock
==================================

When I start MySQL, it does create the socket in /usr/local/mysql/. When I
(or PHP, or Perl) ask mysql_config about the socket, it returns
"/tmp/mysql.sock"...

nrn6# ls -l /usr/local/mysql/mysql.sock
srwxrwxrwx   1 mysql    mysql          0 Oct 21 09:30
/usr/local/mysql/mysql.sock

nrn6# ls -l /tmp/mysql.sock
/tmp/mysql.sock: No such file or directory

nrn6# /usr/local/mysql/bin/mysql_config --socket
/tmp/mysql.sock

Any idea?

-
Christian Caron

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to