you can create my.cnf file with the contents [mysqld] socket=/var/lib/mysql/mysql.sock
and put it in path. In case you need to know where the my.cnf file should be put, execute: mysqld --help | grep my.cnf or with your command line mysql binary do mysql -uusername -p -S=/tmp/mysql.sock ----- Original Message ----- From: "Kuntrynet Office" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 22, 2002 11:59 AM Subject: Problem with 3.23.22 > I recently installed MySQL version 3.23.22 on a Linux server. It used to run > fine. The problem is when I run a php query on a database it returns the > error "Cannot connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (111) " Hmm. My mysql.sock file is located in > /tmp/mysql.sock. The databases don't even seem to be located correctly. They > reside in /usr/local/var along with my .err file. Anyone have any ideas? I > configured using --prefix=/usr/local/. > > TIA > > Ed Curtis > Kuntrynet Internet Services > > > > --------------------------------------------------------------------- > 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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.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