Susan Ator <[EMAIL PROTECTED]> wrote: > I have updated mySQL to the 4.0.13-standard and had no problems UNTIL I > attempted to run mysql_fix_privileges. This is the error I get: > > ERROR 2002: Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) > > /tmp is: > drwxrwxrwt 6 root root 4096 Jun 23 11:21 tmp > > and mysql.sock is ACTUALLY located in /var/lib/mysql. > > Where do I need to look to change the location from /tmp to /var/lib/mysql > for this particular file?
Use --socket option of mysqld: http://www.mysql.com/doc/en/Command-line_options.html -- 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 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]