note 13139 deleted from function.mysql-connect.php by sniper
| From: | sniper@php.net | Date: | Fri, 15 Jun 2001 00:04:17 +0000 |
| Subject: | note 13139 deleted from function.mysql-connect.php by sniper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14410@lists.php.net to get a copy of this message | ||
i've created a database called 'dsp' and have several tables with test info in it,
but when i try to connect with my script i get:
MySQL Connection Failed: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)...
i have the username and password correct in the script, and i have the privileges set correctly on
the database. would this have anything to do with php, or did i screw something up with apache
and/or mysql? any ideas what might be going on or what i could do to fix it?