Mysql Errors
#1

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

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

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

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

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

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

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"
Reply
#8

Well, which version do you use now?
Reply
#9

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)