SA-MP Forums Archive
MySQL function not registered - 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 function not registered (/showthread.php?tid=620920)



MySQL function not registered - Lirbo - 04.11.2016

I'm using BlueG's MySQL plugin.
everything seems to be right but whenever i run the server i get those errors at the cmd file
PHP код:
   Error: Function not registered'mysql_connect'
   
Error: Function not registered'mysql_ping'
   
Error: Function not registered'mysql_debug'
   
Error: Function not registered'mysql_num_rows'
   
Error: Function not registered'mysql_close' 
what should I do?
this is the plugin i'm using: http://files.g-stylezzz.com/mysql/re...-win32_vs9.rar


Re: MySQL function not registered - SickAttack - 04.11.2016

You probably have the incorrect plugin/include version in regards to the code used in the script.


Re: MySQL function not registered - Lirbo - 05.11.2016

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
You probably have the incorrect plugin/include version in regards to the code used in the script.
I see, can u give me a link to the proper one?


Re: MySQL function not registered - Lirbo - 11.11.2016

bump


Re: MySQL function not registered - justice96 - 11.11.2016

https://github.com/pBlueG/SA-MP-MySQL/releases


Re: MySQL function not registered - Lirbo - 17.11.2016

Quote:
Originally Posted by justice96
Посмотреть сообщение
so it says: undefined symbol "mysql_debug" etc

It's giving me errors in the compile, and errors in the running file with the other plugin.................


Re: MySQL function not registered - iLearner - 17.11.2016

You simply need the same version of plugin /include.

Not necessarily latest.


Re: MySQL function not registered - Lirbo - 19.11.2016

Quote:
Originally Posted by iLearner
Посмотреть сообщение
You simply need the same version of plugin /include.

Not necessarily latest.
That's what I have, I've replaced my plugin + include..................


Re: MySQL function not registered - Lirbo - 19.11.2016

bump


Re: MySQL function not registered - AroseKhanNiazi - 19.11.2016

I suggest you use this: https://github.com/pBlueG/SA-MP-MySQ...ases/tag/R39-6

Place the include too and recompile the script.