SA-MP Forums Archive
MySQL Errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL Errors (/showthread.php?tid=607293)



MySQL Errors - Ilai14 - 17.05.2016

Код:
[18:38:31] [debug] Run time error 19: "File or function is not found"
[18:38:31] [debug]  mysql_log
[18:38:31] [debug]  mysql_connect
[18:38:31] [debug]  mysql_errno
[18:38:31] [debug]  mysql_format
[18:38:31] [debug]  mysql_tquery
[18:38:31] [debug]  mysql_close
[18:38:31] [debug]  cache_get_data
[18:38:31] [debug]  cache_get_row_int
[18:38:31] [debug]  cache_get_row
[18:38:31] [debug]  cache_insert_id
[18:38:31] [debug] Run time error 19: "File or function is not found"
[18:38:31] [debug]  mysql_log
[18:38:31] [debug]  mysql_connect
[18:38:31] [debug]  mysql_errno
[18:38:31] [debug]  mysql_format
[18:38:31] [debug]  mysql_tquery
[18:38:31] [debug]  mysql_close
[18:38:31] [debug]  cache_get_data
[18:38:31] [debug]  cache_get_row_int
[18:38:31] [debug]  cache_get_row
[18:38:31] [debug]  cache_insert_id
[18:38:31] Script[gamemodes/TGD(MySQL).amx]: Run time error 19: "File or function is not found"
MySQL Log:
Код:
	mysql_log(LOG_NONE);
	gInfo[gHandle] = mysql_connect(MySQL_HOST, MySQL_USER, MySQL_DB, MySQL_PASS);
	if(mysql_errno(gInfo[gHandle]) != 0)
	{
	    print("[MySQL MSG]: MySQL Failed Connected.");
	    SendRconCommand("gmx");
	}
	else
	{
	    print("[MySQL MSG]: MySQL Connected.");
	}



Re: MySQL Errors - Konstantinos - 17.05.2016

- mysql plugin fails to load or you forgot to add it to the plugins line is server.cfg
- if the plugin failed to load, you need to install few things: http://forum.sa-mp.com/showpost.php?...51&postcount=3
- LOG_NONE is not recommended. Keep the default one for warnings and errors.


Re: MySQL Errors - Ilai14 - 17.05.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
- mysql plugin fails to load or you forgot to add it to the plugins line is server.cfg
- if the plugin failed to load, you need to install few things: http://forum.sa-mp.com/showpost.php?...51&postcount=3
- LOG_NONE is not recommended. Keep the default one for warnings and errors.
I have the Redistributable new
I don't forget yo add the plugin to plugins line is server.cfg
I delete the LOG_NONE and again this show to me this line


Re: MySQL Errors - iKevin - 17.05.2016

You got the mysql include?


Re: MySQL Errors - Ilai14 - 17.05.2016

Quote:
Originally Posted by KevinExec
Посмотреть сообщение
You got the mysql include?
Yes I have the include