error conecting to remote database

Status
Not open for further replies.

markmuk

New Member
Messages
11
Reaction score
0
Points
0
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'mysqlhost.netfirms.com' (4) in /home/markmuk/public_html/include/database/mysql.php on line 8
connection error:-Can't connect to MySQL server on 'mysqlhost.netfirms.com' (4)

Can someone help?
 

Xemnas

New Member
Messages
812
Reaction score
0
Points
0
I'm guessing you have your MySQL databases hosted remotely? In that case, log in to your cPanel and select "Remote MySQL". From there add mysqlhost.netfirms.com. Note that you can, however, host MySQL databases with us.
 
Last edited:

markmuk

New Member
Messages
11
Reaction score
0
Points
0
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading authorization packet', system error: 0 in /home/markmuk/public_html/include/database/mysql.php on line 8
connection error:-Lost connection to MySQL server at 'reading authorization packet', system error: 0

done that now im getting this error
Edit:
10.8.12.7 that is the IP of the server my database is on dont know if you need to add that to a firewall or something as i seen in a previous thread on here when doing a search
Edit:
Hiya guys, ok i got onto the company whom my sql database is with they have sorted it however now im getting a 500 internal server error on these servers I have just checked in my account and my php upgrade to the middle option is still pending after 8 hours i guess this could be whats causing the internal server error can anyone help?
 
Last edited:

Chris73

New Member
Messages
5,356
Reaction score
1
Points
0
I see a default index page. No errors. Can you link me to an error?
 
Status
Not open for further replies.
Top