MySQLConnect()
#1

Hi,

Why isn't this working?

I turn my WAMP MySQL off to test it, but the text won't be printed and the server doesn't close.

Код:
stock MySQLConnect()
{
	mysql_debug(1);
	if(!mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS))
	{
		print("Server failed to connect to MySQL!");
		SendRconCommand("exit");
	}
	return 0;
}
Reply


Messages In This Thread
MySQLConnect() - by BritishBoy - 24.04.2011, 15:24
Re: MySQLConnect() - by playbox12 - 24.04.2011, 15:30
Re: MySQLConnect() - by BritishBoy - 24.04.2011, 15:37
Re: MySQLConnect() - by [NoV]LaZ - 24.04.2011, 15:40
Re: MySQLConnect() - by BritishBoy - 24.04.2011, 15:44

Forum Jump:


Users browsing this thread: 1 Guest(s)