[help] Mysql Confusion.
#1

Im trying to fill out this code:

Код:
#define MYSQL_HOST "sql110.byetcluster.com"
#define MYSQL_USER "b31_4369867"
#define MYSQL_PASS "-NOT For you-"
#define MYSQL_DB  "b31_4369867_modern"
ITs not connecting to the Host... but on the host im using it says at the top of mysql..

Код:
 Server: sql110.byetcluster.com -  Database: b31_4369867_modern
so im pretty sure its correct... but i still get this error:

Код:
[21:52:09] MYSQL: Attempting to connect to server...
[21:52:30] 
Connection to MySQL database: Failed !
[21:52:30] Can't connect to MySQL server on 'sql110.byetcluster.com' (10060)

[21:52:30] Error in mysql_select_db: MySQL server has gone away
[21:52:30] MYSQL: Connection error, retrying...
[21:52:51] 
Connection to MySQL database: Failed !
[21:52:51] Can't connect to MySQL server on 'sql110.byetcluster.com' (10060)
Reply
#2

Quote:
Originally Posted by Mowgli
Im trying to fill out this code:

Код:
#define MYSQL_HOST "sql110.byetcluster.com"
#define MYSQL_USER "b31_4369867"
#define MYSQL_PASS "-NOT For you-"
#define MYSQL_DB "b31_4369867_modern"
ITs not connecting to the Host... but on the host im using it says at the top of mysql..

Код:
 Server: sql110.byetcluster.com - Database: b31_4369867_modern
so im pretty sure its correct... but i still get this error:

Код:
[21:52:09] MYSQL: Attempting to connect to server...
[21:52:30] 
Connection to MySQL database: Failed !
[21:52:30] Can't connect to MySQL server on 'sql110.byetcluster.com' (10060)

[21:52:30] Error in mysql_select_db: MySQL server has gone away
[21:52:30] MYSQL: Connection error, retrying...
[21:52:51] 
Connection to MySQL database: Failed !
[21:52:51] Can't connect to MySQL server on 'sql110.byetcluster.com' (10060)
contact your host. This is most likey happened due from a failure from the MYSQL connecting files.
Reply
#3

so, that probaly isnt my host name?
Reply
#4

the server is probably not allowing remote connections from your server.
Reply
#5

Quote:
Originally Posted by Daren_Jacobson
the server is probably not allowing remote connections from your server.
How do i fix this?
Reply
#6

As Compton said, try to contact your host and ask if they could make it so that they can allow remote connections.
Reply
#7

i tried changing the 'sql110.byetcluster.com' to the ip of that host, but it stil got same error...What shall i say to the host?
Reply
#8

Quote:
Originally Posted by Mowgli
i tried changing the 'sql110.byetcluster.com' to the ip of that host, but it stil got same error...What shall i say to the host?
That you're having trouble connecting, can you please help me? That is something you should say.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)