Thansk for your suggestion Steve, see what I have.
I don't know why by default server wants a sock in /var/lib/mysql and why it
doesnt exists anymore ?
How to create a new one ?

A search
[EMAIL PROTECTED] [~]# find / -name mysql.sock
/var/tmp/mysql.sock
/tmp/mysql.sock
/usr/local/lib/mysql.sock

I try to force sock in tmp dir
[EMAIL PROTECTED] [~]# tail /etc/my.cnf
[client]
socket=/tmp/mysql.sock
[mysqld]
set-variable = max_connections=500
socket=/tmp/mysql.sock
[EMAIL PROTECTED] [~]# mysql
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111)
[EMAIL PROTECTED] [~]# tail ~/.my.cnf
[client]
user=root
pass=******
[mysqladmin]
password=******
user=root

and now # is a comment, without any directive
[EMAIL PROTECTED] [~]# tail /etc/my.cnf
#[client]
#socket=/tmp/mysql.sock
[mysqld]
set-variable = max_connections=500
#socket=/tmp/mysql.sock
[EMAIL PROTECTED] [~]# mysql
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

You advise me to test the other socks ?
Thanks


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454 - Release Date: 31/05/2004


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

Reply via email to