Moving the location of mysql.sock and mysql_setpermission

2002-12-03 Thread Theodore Reph
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_

Re: location of mysql.sock

2001-05-06 Thread Rolf Hopkins
- 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

location of mysql.sock

2001-05-06 Thread Gordon Stewart
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