I'm trying to use a socket besides the standard /tmp/mysql.sock one.  I've
tried specifying socket=/path/to/socket in both [client] and [mysqld]
sections of my.cnf, and I've tried to edit safe_mysqld directly with this
path.  In all cases, the mysql server appears to start (no error messages
are generated when I run S99mysql start, anyway), but I get the "ERROR 2002:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
message.

I'm guessing that some other file is overwriting the my.cnf settings so that
the server still expects connections to come through the /tmp/mysql.sock
socket.  I can't, however, figure out which file that is/may be.

In consulting the docs, all I can glean is that (1) I'm using the wrong
socket file which is precisely what I'm attempting to do, or (2) per the
third-to-last bullet at the bottom of p.571 of the mysql manual, I need to
somehow notify the clients of the new path.  I believe this is where I'm
stuck since I thought the [client] setting in my.cnf was suppose to do this.

All help to sort this out is appreciated.

Thanks,
Brian



---------------------------------------------------------------------
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

Reply via email to