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_mysqld] #err-log=/var/log/mysqld.log err-log=/usr8/mysql/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [client] socket=/usr6/mysql/mysql.sock When I run mysql_setpermission --user ted I get the following error even though my.cnf has set socket for the client to /usr6/mysql/mysql.sock: Can't make a connection to the mysql server. The error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/bin/mysql_setpermission line 65, <STDIN> line 1. How do I fix this? -------------- Theodore Reph [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php