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=484436)
Mysql Errors -
Nourdin - 30.12.2013
Hello there,
I have a couple of MYSQL errors, I imported everything and compiled everything without any warning or error.
Now if I start my server it says:
Код:
[19:20:36] Error: Function not registered: 'mysql_function_query'
[19:20:36] Error: Function not registered: 'cache_get_data'
[19:20:36] Error: Function not registered: 'cache_get_row'
[19:20:36] Error: Function not registered: 'cache_get_row_int'
[19:20:36] Error: Function not registered: 'cache_get_row_float'
[19:20:36] Script[gamemodes/myrp.amx]: Run time error 19: "File or function is not found"
[19:20:36] Number of vehicle models: 0
I'm using Blueg's mysql R34.
Thanks!
Re: Mysql Errors - Patrick - 30.12.2013
Make sure you have the right
include/plugin or try complying your script with your new
includes, don't forget to place
mysql.so or mysql.dll in
server.cfg
Re: Mysql Errors -
Nourdin - 30.12.2013
I tried everything already.. unfortunately that didn't managed to fix it..
Re: Mysql Errors -
Konstantinos - 30.12.2013
Is mysql plugin loaded? If not, that's why. If it is, then make sure that the plugin file does match with the include's version. For example, if you recompile with a_mysql.inc to version R34 and you use mysql.dll or mysql.so with version R6 will fail.