MYSQL Error
#1

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 ?
Reply
#2

Wrong mysql plugin.
Reply
#3

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.
Reply
#4

I think that you need MySQL R7 plugin for this..
Reply
#5

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
Reply
#6

Are you sure you have included the .inc file?
Reply
#7

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


And the include: http://pastebin.com/FVyyErqx
Reply
#8

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
Reply
#9

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
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)