Re: mysql.sock file location
| From: | Brad Pauly | Date: | Thu, 25 Sep 2003 15:06:44 +0000 |
| Subject: | Re: mysql.sock file location | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163917@lists.php.net to get a copy of this message | ||
Donald Tyler wrote:
Yeah I thought so to. But I did a chmod 755 on the sock file and it didn't help. Here's the test script I am using: (Presume that's what you meant by "connection string"? <?PHP if($Connection = mysql_connect('localhost', '******', '******')) print 'Success!'; else print 'Failure'; ?>Are you sure the MySQL server is running? Can you connect from the command line using the same credentials as above? - Brad