MySQl Debugging help[+REP]
#1

[23:03:29]

[23:03:29] ---------------------------

[23:03:29] MySQL Debugging activated (03/09/14)

[23:03:29] ---------------------------

[23:03:29]

[23:03:29] >> mysql_connect( )

[23:03:50] CMySQLHandler::Connect() - Can't connect to MySQL server on 'mysql14.000webhost.com' (10060) (Error ID: 2003)

[23:03:50] >> mysql_query( Connection handle: 1 )

[23:03:50] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[23:03:50] >> mysql_query( Connection handle: 1 )

[23:03:50] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[23:03:50] >> mysql_query( Connection handle: 1 )

[23:03:50] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
Reply
#2

Quote:
Originally Posted by PAF
Посмотреть сообщение
[23:03:29]

[23:03:29] ---------------------------

[23:03:29] MySQL Debugging activated (03/09/14)

[23:03:29] ---------------------------

[23:03:29]

[23:03:29] >> mysql_connect( )

[23:03:50] CMySQLHandler::Connect() - Can't connect to MySQL server on 'mysql14.000webhost.com' (10060) (Error ID: 2003)

[23:03:50] >> mysql_query( Connection handle: 1 )

[23:03:50] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[23:03:50] >> mysql_query( Connection handle: 1 )

[23:03:50] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[23:03:50] >> mysql_query( Connection handle: 1 )

[23:03:50] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
This might work somehow. Try changing host ip to "localhost" or "127.0.0.1"

Can you also please post here your server_log?

Edit: I don't see any details of the mysql_connect. There should be like this

CMySQLHandler::CMySQLHandler() - Connecting to "Server IP Here" | DB: "Db name here" | Username: "username here"

Quote:

Make sure that
1. Your server is allowing connections to the MySQL host.
2. Your MySQL host is allowing connections to the server.

That error happens when it doesn't connect in the first place. Most free MySQL hosting providers have issues with external SQL connections.

Reply
#3

SEE THIS IMAGE Click here!
Reply
#4

Quote:
Originally Posted by PAF
Посмотреть сообщение
SEE THIS IMAGE Click here!
Contact the host/ Make a ticket. Or wait for someone to help you here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)