RE: [PHP] mysql.sock file location
| From: | Donald Tyler | Date: | Thu, 25 Sep 2003 15:31:45 +0000 |
| Subject: | RE: [PHP] mysql.sock file location | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163924@lists.php.net to get a copy of this message | ||
Yes, I ping it and it says its alive.
-----Original Message-----
From: Brad Pauly [mailto:brad@robinsontech.com]
Sent: Thursday, September 25, 2003 10:07 AM
To: Donald Tyler
Cc: php-general@lists.php.net
Subject: Re: [PHP] mysql.sock file location
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