Converting mysql_ping
#1

Well so i have this MySQL plugin but mysql_ping got removed so im not sure how to change it so it does the same function but without mysql_ping

PHP код:
if(mysql_ping(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.");
        
SendRconCommand("exit");
    }
    else
    {
        print(
"[MySQL] (MainPipeline) Connection successful toward MySQL Database Server!");
    } 
Reply


Messages In This Thread
Converting mysql_ping - by AchievementMaster360 - 27.11.2013, 13:42
Re: Converting mysql_ping - by Konstantinos - 27.11.2013, 13:48
Re: Converting mysql_ping - by AchievementMaster360 - 27.11.2013, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)