OS: Linux 2.4
Mysql: 3.23.52
/etc/my.cnf
--
[mysqld]
#datadir=/var/lib/mysql
#socket=/var/lib/mysql/mysql.sock
datadir=/usr6/mysql
socket=/usr6/mysql/mysql.sock
port=3306
[mysql.server]
user=mysql
#basedir=/var/lib
basedir=/usr6
[safe_
- Original Message -
From: "Gordon Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 19:57
Subject: location of mysql.sock
> hi
>
> When I run the command
>
> shell> /usr/local/mysql/bin/safe_mysqld --u
hi
When I run the command
shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
it creates the file /tmp/mysql.sock
the problem is that when i run the command
shell> mysql
it gives me this error:
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.so