Help me.
#1

I'm using Gamemode NGG v2, but i updated Mysql R40 for my gamemode.

PHP Code:
[MySQL] (Main PipelinesConnecting to 127.0.0.1...
[
MySQL] (MainPipelineFatal ErrorCould not connect to MySQLHost 127.0.0.1 DBtestgm Userroot
[MySQLNoteMake sure that you have provided the correct connection credentials.
[
MySQLError number: -
How to repair it?
Reply
#2

You're using wrong information to login to the database.. Correct the information.
Reply
#3

Quote:
Originally Posted by JasonRiggs
View Post
You're using wrong information to login to the database.. Correct the information.
Where?
Reply
#4

Inside your gamemode or a configuration file..
Reply
#5



Gamemode NGG is using mysql.cfg, and i changed it same.
Reply
#6

I changed
PHP Code:
if(mysql_errno(MainPipeline) != 0)
    {
        
printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s"SQL_HOSTSQL_DBSQL_USER);
        print(
"[MySQL] Note: Make sure that you have provided the correct connection credentials.");
        
printf("[MySQL] Error number: %d"mysql_errno(MainPipeline));
        
SendRconCommand("exit");
    }
    else print(
"[MySQL] (MainPipeline) Connection successful toward MySQL Database Server!"); 
to:

PHP Code:
if(mysql_errno(MainPipeline) != -1)
    {
        
printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s"SQL_HOSTSQL_DBSQL_USER);
        print(
"[MySQL] Note: Make sure that you have provided the correct connection credentials.");
        
printf("[MySQL] Error number: %d"mysql_errno(MainPipeline));
        
SendRconCommand("exit");
    }
    else print(
"[MySQL] (MainPipeline) Connection successful toward MySQL Database Server!"); 
and it working, i want reply real fine with it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)