note 13964 added to function.mysql-connect.php
| From: | robert dot mail at chello dot at | Date: | Wed, 11 Jul 2001 23:03:12 +0000 |
| Subject: | note 13964 added to function.mysql-connect.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15261@lists.php.net to get a copy of this message | ||
you MUST use 127.0.0.1 instead of "localhost" for your connection string. otherwise
you'll get an error like:
"Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) "
http://www.php.net/manual/en/function.mysql-connect.php