SA-MP Forums Archive
MySQL Error - 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 Error (/showthread.php?tid=518738)



MySQL Error - 0nur - 11.06.2014

Код:
(258) : error 017: undefined symbol "mysql_query"
(447) : error 017: undefined symbol "mysql_query"
(497) : error 025: function heading differs from prototype
(502) : warning 235: public function lacks forward declaration (symbol "OnQueryFinish")
(512) : error 017: undefined symbol "mysql_query"
(517) : error 017: undefined symbol "mysql_query"
(610) : error 017: undefined symbol "mysql_query"
(619) : error 017: undefined symbol "mysql_query"
(628) : error 017: undefined symbol "mysql_query"
(687) : error 017: undefined symbol "mysql_query"
(697) : error 017: undefined symbol "mysql_query"
HOW TO FİX ? I use last version mysql.

( Sorry for bad english.)


Re: MySQL Error - Jack_Leslie - 11.06.2014

Make sure you have
pawn Код:
#include <a_mysql>
At the top of your script, under
pawn Код:
#include <a_samp>



Re: MySQL Error - 0nur - 11.06.2014

I have them;

pawn Код:
#include <a_samp>
#include <a_mysql>
#include <zcmd>



Re: MySQL Error - Vince - 11.06.2014

Quote:
Originally Posted by 0nur
Посмотреть сообщение
I use last version mysql.
No, you don't. Because the latest version (R39) actually has that function.


Re: MySQL Error - 0nur - 11.06.2014

Hımm. Will you send me the link?


Re: MySQL Error - iZN - 11.06.2014

https://sampforum.blast.hk/showthread.php?tid=56564

Go below and download R6.


Re: MySQL Error - shourya12 - 11.06.2014

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

Download the first one.


Re: MySQL Error - iZN - 11.06.2014

Quote:
Originally Posted by shourya12
Посмотреть сообщение
Those versions are newer and won't work with the version he wants. He's using unthreaded one, as I can see 'mysql_query' and 'OnQueryFinish' which was in R6.


Re: MySQL Error - 0nur - 11.06.2014

I download R6 mysql plugin but this errors;

pawn Код:
(256) : error 017: undefined symbol "mysql_format"
(445) : error 017: undefined symbol "mysql_format"
(439) : warning 204: symbol is assigned a value that is never used: "Pass"
(510) : error 017: undefined symbol "mysql_format"
(515) : error 017: undefined symbol "mysql_format"
(617) : error 017: undefined symbol "mysql_format"
(626) : error 017: undefined symbol "mysql_format"
(685) : error 017: undefined symbol "mysql_format"
(695) : error 017: undefined symbol "mysql_format"



Re: MySQL Error - shourya12 - 11.06.2014

Quote:
Originally Posted by iZN
Посмотреть сообщение
Those versions are newer and won't work with the version he wants. He's using unthreaded one, as I can see 'mysql_query' and 'OnQueryFinish' which was in R6.
Hmm,yea BlueG's R6 Plugin.