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=578280)



MYSQL Error - rockhopper - 18.06.2015

So I was just learning mysql and I am quite annoyed because of errors Can anyone give me a hand and help me out ?
Код:
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(28) : error 017: undefined symbol "mysql_store_result"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(29) : error 017: undefined symbol "mysql_num_rows"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(37) : error 017: undefined symbol "mysql_fetch_field_row"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(49) : error 017: undefined symbol "mysql_free_result"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(137) : error 017: undefined symbol "mysql_store_result"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(138) : error 017: undefined symbol "mysql_num_rows"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(147) : error 017: undefined symbol "mysql_free_result"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(174) : error 017: undefined symbol "mysql_store_result"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(175) : error 017: undefined symbol "mysql_fetch_row_format"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(177) : error 017: undefined symbol "mysql_fetch_field_row"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(178) : error 017: undefined symbol "mysql_fetch_field_row"
E:\JOEL\SAMP\Servers\TEST\gamemodes\account.pwn(181) : error 017: undefined symbol "mysql_free_result"
These are the errors , I downloaded latest version from github still not working . Please anyone ?


Re: MYSQL Error - Runn3R - 18.06.2015

Wrong mysql plugin.


Re: MYSQL Error - rockhopper - 18.06.2015

I downloaded another one , it compiled without errors but now the plugin isn't loading ..
Код:
[12:59:38] Server Plugins
[12:59:38] --------------
[12:59:38]  Loaded 0 plugins.



Re: MYSQL Error - Runn3R - 18.06.2015

I think that you need MySQL R7 plugin for this..


Re: MYSQL Error - rockhopper - 18.06.2015

There isn't a Download link for it , please can you upload it for me ? The links are broken and if I try to use the latest version it gives me those errors while compiling


Re: MYSQL Error - mamorunl - 18.06.2015

Are you sure you have included the .inc file?


Re: MYSQL Error - Runn3R - 18.06.2015

Here ya go mate.
http://www.solidfiles.com/d/900334491b/


And the include: http://pastebin.com/FVyyErqx


Re: MYSQL Error - rockhopper - 18.06.2015

Still not loading I am fully confused , I will try another Tutorial , If you know good ones give me links for Register Login system using MYSQL


Re: MYSQL Error - rockhopper - 18.06.2015

I find this tut useful , I learned from here https://sampforum.blast.hk/showthread.php?tid=159785 so please can you guys give me what plugin version he is using , cause I learned from there with a lot of efforts so anyone can upload the .inc and plugin of the version he is using in his tutorial


Re: MYSQL Error - Vince - 18.06.2015

Please look at the date a tutorial was written before deciding whether it is useful. Some tutorials, especially relating to plugins, can get obsolete quite fast. The one you're referring to was made five years ago. Five years! I think that one was written with R6 and we're currently almost at R40.

Save yourself the trouble and do not learn outdated methods. Start with the latest and go on from there. You may take a look at AndreT's tutorial (https://sampforum.blast.hk/showthread.php?tid=337810) instead. This one is slighly outdated - although far less than the one you referred to - and you use mysql_tquery instead of mysql_function_query. But the logic mostly still applies.