PHP Classes

Error message

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  Error message  
Subject:Error message
Summary:mysql_connect() returned error number
Messages:4
Author:Bob Squires
Date:2010-05-26 09:56:49
Update:2010-06-12 07:09:56
 

  1. Error message   Reply   Report abuse  
Picture of Bob Squires Bob Squires - 2010-05-26 10:26:13
I'm getting a failure to connect to a MySQL database server, with error message as follows
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'mysite.co.uk' (4)

(mysite is not the real system name) Please can anyone tell me the significance of the number four that is part of this message. What type of failure does it signify? I can't seem to find any information about it. Thanks for your help.

Bob

There are 3 replies in this thread, which are not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.