mysql_connect fails

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sadara

    mysql_connect fails

    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



Working...