By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,776 Members | 1,302 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,776 IT Pros & Developers. It's quick & easy.

mysql_connect fails

P: n/a
hi

i'm baffled. or maybe missing the obvious ....

when requesting a particular page, which attempts to connect to my MySQL
server, at least one user receives the 'Can't connect ...' message:

Warning: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2) in /usr/www/users/.../xyz.inc.php on line 108

line 108 of the included file is:

$link = mysql_connect ($h, $u, $p) ;

the user has no problem with the rest of the site, but always has this
problem if the page requested attempts to connect to the server.

no other user has reported the problem and this user is reliable.

i really can't see how the user's browser or firewall could cause this,
but ....

ring any bells?

sadara

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.