php3-list | 200003

[PHP3] Can't connect to local MySQL server through socket '/var/lib /mysql/mysql.sock' (111) From: Gudmundur Helgason (gummi <email protected>)
Date: 03/31/00

Howdy,

I am porting my site to a new host and it's almost ready to run, however I've
found a strange
problem with MySQL and PHP, well mostly MySQL.

When doing commands like "mysql -uuserid -ppassword" I always get
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
(111) .

This same command works fine when I am logged in as root on the machine.
MySQL permissions seem to be in order but I may be missing something.

This of course makes sure PHP calls to MySQL don't work.

Any ideas?

Machine info:
Apache 1.3.12 and PHP 3.0.12 on Red Hat Linux 6.1 - mysql 3.22.27

Thanks in advance,
Gudmundur Helgason

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>