SA-MP Forums Archive
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=572161)



Mysql Errors - MasonPlay - 25.04.2015

I'm probably guessing it's libmysql.dll but the file it's there. The plugins are loading aswell. I'm using the new mysql plugin aswell as the libmysql.dll file.


[22:36:00] [debug] mysql_ping
[22:36:00] [debug] mysql_function_query
[22:36:00] [debug] mysql_real_escape_string
[22:36:00] [debug] mysql_affected_rows
[22:36:00] [debug] mysql_insert_id
[22:36:00] [debug] Run time error 19: "File or function is not found"
[22:36:00] [debug] mysql_ping
[22:36:00] [debug] mysql_function_query
[22:36:00] [debug] mysql_real_escape_string
[22:36:00] [debug] mysql_affected_rows
[22:36:00] [debug] mysql_insert_id


Re: Mysql Errors - Mencent - 25.04.2015

Hello!

The newest version of mysql can you download here:
https://github.com/pBlueG/SA-MP-MySQL/releases
EDIT:
Update your includes, plugins and the libmysql.dll. After this it should work.

Mencent


Re: Mysql Errors - Konstantinos - 25.04.2015

You may have loaded the latest plugin version (R39-3) but the script is compiled with R7 version. Though it's recommended to update the script and use the latest version of the mysql plugin.


Re: Mysql Errors - Evocator - 25.04.2015

Quote:
Originally Posted by MasonPlay
Посмотреть сообщение
[22:36:00] [debug] mysql_ping
[22:36:00] [debug] mysql_function_query
[22:36:00] [debug] mysql_real_escape_string
[22:36:00] [debug] mysql_affected_rows
[22:36:00] [debug] mysql_insert_id
[22:36:00] [debug] Run time error 19: "File or function is not found"
[22:36:00] [debug] mysql_ping
[22:36:00] [debug] mysql_function_query
[22:36:00] [debug] mysql_real_escape_string
[22:36:00] [debug] mysql_affected_rows
[22:36:00] [debug] mysql_insert_id
These functions were removed in R33 AFAIK, so you need R5 or a script update.
https://sampwiki.blast.hk/wiki/MySQL/R33


Re: Mysql Errors - MasonPlay - 25.04.2015

Forbidden

You don't have permission to access /libmySQL.dll on this server.
Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at files.g-stylezzz.com Port 80


Whenever i try to download R5 MySQL I get these errors and from what I've seen it seems like I'm not the only one. Anyone got R5 mysql files on a dropbox ?


Re: Mysql Errors - Konstantinos - 25.04.2015

Why are you trying to download R5? mysql_function_query which is used in the script does not exist in R5 but in R7: http://forum.sa-mp.com/showpost.php?...24&postcount=3


Re: Mysql Errors - MasonPlay - 25.04.2015

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Why are you trying to download R5? mysql_function_query which is used in the script does not exist in R5 but in R7: http://forum.sa-mp.com/showpost.php?...24&postcount=3
Thank you.

Edit: Got 4 errors when compiling :

error 017: undefined symbol "mysql_ping"
error 017: undefined symbol "mysql_affected_rows"
error 017: undefined symbol "mysql_affected_rows"
error 017: undefined symbol "mysql_ping"


Re: Mysql Errors - Mencent - 26.04.2015

Well, which version do you use now?


Re: Mysql Errors - MasonPlay - 26.04.2015

I'm using R7, but I could not find mysql.inc maybe that can be the problem why I get these errors when compiling?


Re: Mysql Errors - Mencent - 26.04.2015

Why you aren't using R39-3?
This version is better. Download this version and upgrade the include and plugin and write your code in R39.