MySQL R41 Error.
#1

Hello.
When I start my server, I've this error
Код:
[11/17/16 20:21:23] [plugins/mysql] plugins/mysql
There is no connexion between the server and the script so every query are useless.
The plugin is correctly loaded.
Код:
[20:15:44]  Loading plugin: mysqlR41.so
[20:15:44]  >> plugin.mysql: R41 successfully loaded.
Thanks for your help!
Reply
#2

If it was an error it would've printed it with tag '[ERROR]'.
It doesn't seem like that.
Reply
#3

This come from error.log
Reply
#4

Are you even trying to establish a connection? Print out the result of the connection status in the console?
Reply
#5

Ye'p I did!
PHP код:
    if(MySQL == MYSQL_INVALID_HANDLE || mysql_errno(MySQL) != 0)
    {
        print(
"Connexion MySQL ratйe, le serveur va s'йteindre.");
        
        
SendRconCommand("exit");
        
        return 
1;
    }
    print(
"[SERVER] Connexion MySQL rйussie."); 
Reply
#6

Check your connection details then.
Reply
#7

How?
Reply
#8

Bump. :/
Reply
#9

check your mysql password , database name etc.to be correct on mysql_connect
Reply
#10

Everything is fine because I've the message which confirm me the DB is connected.

PHP код:
    if(MySQL == MYSQL_INVALID_HANDLE || mysql_errno(MySQL) != 0)
    {
        print(
"MSQL failed to connect. The server will shut down0");
        
        
SendRconCommand("exit");
        
        return 
1;
    }
    print(
"[SERVER] MySQL connection done."); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)