mysqlc, Thursday, July 11, 2002, 8:31:10 AM, you wrote: m> Description: m> does not pass value of --socket to mysqld m> mysqld does not use environment MYSQL_UNIX_PORT m> How-To-Repeat: m> change value of socket and execute m> Fix: m> don't change value of socket
It works fine for me. shell> MYSQL_UNIX_PORT=/tmp/mysql.sock shell> export MYSQL_UNIX_PORT shell> safe_mysqld & mysql> show variables like "socket"; +---------------+-----------------+ | Variable_name | Value | +---------------+-----------------+ | socket | /tmp/mysql.sock | +---------------+-----------------+ 1 row in set (0.00 sec) shell> MYSQL_UNIX_PORT=/var/lib/mysql/mysql.sock shell> export MYSQL_UNIX_PORT shell> safe_mysqld & mysql> show variables like "socket"; +---------------+---------------------------+ | Variable_name | Value | +---------------+---------------------------+ | socket | /var/lib/mysql/mysql.sock | +---------------+---------------------------+ 1 row in set (0.00 sec) --socket option also worked for me.. Check your my.cnf file is there any entry socket=# in the [mysqld] section? -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- 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