You need to ensure that mysql.sock has the correct read-write-execute
permissions

Check the mail list archives; this question is asked and answered EVERY week


-----Original Message-----
From: Liam Gibbs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 1:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Big Problems Connecting to MySQL


Hi,

I'm having some big problems even running any
mysql_connect commands. I get the results at the
bottom of this e-mail from running a simple
mysql_connect command. Some things to consider are
that I'm accessing my web site through port 8080, and
I'm not sure what username, password, or hostname I
should be using. Does anyone know how to find out what
username, password, and hostname I should be using?
And should I include my port number after my hostname?
Sorry. I'm new at this stuff.

===============================
Warning: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (111) in /index.php on line 9

Warning: MySQL Connection Failed: Can't connect to
local MySQL server through socket '/tmp/mysql.sock'
(111) in /index.php on line 9



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to