Problem at my Script
#4

In the NGRP script you are using it will automatically shut down server if the MySQL connection has failed, as said in reply above me.


Edit; here is the snippet from NGRP script:

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");
    } 
Reply


Messages In This Thread
Problem at my Script - by yarin0600 - 18.10.2012, 17:43
Re: Problem at my Script - by BlueGames - 18.10.2012, 19:17
Re: Problem at my Script - by RedJohn - 18.10.2012, 19:18
Re: Problem at my Script - by CmZxC - 18.10.2012, 19:29

Forum Jump:


Users browsing this thread: 1 Guest(s)