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=579149)
mysql error -
SpiritM - 24.06.2015
Please help me fix this, I have tried different versions of the mysql plugin, and it still keeps saying the same errors over and over again.
PHP код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[22:33:30]
[22:33:30] Server Plugins
[22:33:30] --------------
[22:33:30] Loading plugin: crashdetect.dll
[22:33:30] CrashDetect v4.15.1 is OK.
[22:33:30] Loaded.
[22:33:30] Loading plugin: sscanf.dll
[22:33:30]
[22:33:30] ===============================
[22:33:30] sscanf plugin loaded.
[22:33:30] Version: 2.8.1
[22:33:30] (c) 2012 Alex "******" Cole
[22:33:30] ===============================
[22:33:30] Loaded.
[22:33:30] Loading plugin: streamer.dll
[22:33:30]
*** Streamer Plugin v2.7 by Incognito loaded ***
[22:33:30] Loaded.
[22:33:30] Loading plugin: mysql.dll
[22:33:30] Failed.
[22:33:30] Loading plugin: whirlpool.dll
[22:33:30]
[22:33:30] ==================
[22:33:30]
[22:33:30] Whirlpool loaded
[22:33:30]
[22:33:30] ==================
[22:33:30]
[22:33:30] Loaded.
[22:33:30] Loading plugin: MapAndreas.dll
[22:33:30] Loaded.
[22:33:30] Loading plugin: socket.dll
[22:33:30] Socket plugin v0.2b loaded.
[22:33:30] Loaded.
[22:33:30] Loading plugin: itd.dll
[22:33:30]
* iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)
[22:33:30] Loaded.
[22:33:30] Loading plugin: TDE.dll
[22:33:30]
TDEditor Plugin loaded, thank you for using.
[22:33:30] Loaded.
[22:33:30] Loading plugin: nativechecker.dll
[22:33:30] Loaded.
[22:33:30] Loaded 9 plugins.
[22:33:30]
[22:33:30] Filterscripts
[22:33:30] ---------------
[22:33:30] Loading filterscript 'TDE.amx'...
[22:33:30] Unable to load filterscript 'TDE.amx'.
[22:33:30] Loaded 0 filterscripts.
[22:33:31] Error: Function not registered: 'mysql_query'
[22:33:31] Error: Function not registered: 'cache_get_row_count'
[22:33:31] Error: Function not registered: 'cache_get_field_content'
[22:33:31] Error: Function not registered: 'cache_get_field_content_int'
[22:33:31] Error: Function not registered: 'mysql_format'
[22:33:31] Error: Function not registered: 'mysql_tquery'
[22:33:31] Error: Function not registered: 'cache_insert_id'
[22:33:31] Error: Function not registered: 'cache_set_active'
[22:33:31] Error: Function not registered: 'cache_get_field_content_float'
[22:33:31] Error: Function not registered: 'cache_save'
[22:33:31] Error: Function not registered: 'mysql_escape_string'
[22:33:31] Error: Function not registered: 'mysql_log'
[22:33:31] Error: Function not registered: 'mysql_connect'
[22:33:31] Error: Function not registered: 'mysql_stat'
[22:33:31] Error: Function not registered: 'mysql_close'
[22:33:31] [debug] Run time error 19: "File or function is not found"
[22:33:31] [debug] mysql_query
[22:33:31] [debug] cache_get_row_count
[22:33:31] [debug] cache_get_field_content
[22:33:31] [debug] cache_get_field_content_int
[22:33:31] [debug] mysql_format
[22:33:31] [debug] mysql_tquery
[22:33:31] [debug] cache_insert_id
[22:33:31] [debug] cache_set_active
[22:33:31] [debug] cache_get_field_content_float
[22:33:31] [debug] cache_save
[22:33:31] [debug] mysql_escape_string
[22:33:31] [debug] mysql_log
[22:33:31] [debug] mysql_connect
[22:33:31] [debug] mysql_stat
[22:33:31] [debug] mysql_close
[22:33:31] [debug] Run time error 19: "File or function is not found"
[22:33:31] [debug] mysql_query
[22:33:31] [debug] cache_get_row_count
[22:33:31] [debug] cache_get_field_content
[22:33:31] [debug] cache_get_field_content_int
[22:33:31] [debug] mysql_format
[22:33:31] [debug] mysql_tquery
[22:33:31] [debug] cache_insert_id
[22:33:31] [debug] cache_set_active
[22:33:31] [debug] cache_get_field_content_float
[22:33:31] [debug] cache_save
[22:33:31] [debug] mysql_escape_string
[22:33:31] [debug] mysql_log
[22:33:31] [debug] mysql_connect
[22:33:31] [debug] mysql_stat
[22:33:31] [debug] mysql_close
[22:33:31] Script[gamemodes/SCNR.amx]: Run time error 19: "File or function is not found"
[22:33:31] Number of vehicle models: 0
Here is my server.cfg in case you need it
PHP код:
echo Executing Server Config...
lanmode 0
rcon_password I aint gonna show this :P
maxplayers 50
port 7777
hostname SCNR - Spirits Cops And Robbers 0.3.7
gamemode0 SCNR 1
filterscripts TDE
plugins crashdetect.dll sscanf.dll streamer.dll mysql.dll whirlpool.dll MapAndreas.dll socket.dll itd.dll TDE.dll nativechecker.dll
announce 1
query 1
chatlogging 0
weburl COMING SOON
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
Re : mysql error -
KillerDVX - 24.06.2015
You should update your mysql plugin and include.
KillerDVX,
Re: Re : mysql error -
SpiritM - 24.06.2015
Quote:
Originally Posted by KillerDVX
You should update your mysql plugin and include.
KillerDVX,
|
Latest one is r39-3 right? Tried that and still same problem
Re: mysql error -
Shetch - 24.06.2015
Re-compile your script with the new include.
Re: mysql error -
prineside - 25.06.2015
PHP код:
[22:33:30] Loading plugin: mysql.dll
[22:33:30] Failed.
Looks like server can't find or load dynamic mysql library. Check plugins folder for mysql.dll - maybe that file is corrupted, deleted, renamed or simply has upper-case characters in it's name. Also try to remove .dll suffix from plugin name in server.cfg.
Re: mysql error -
Zeuto - 27.06.2015
Had the same problem. Then i downloaded R38 and it loaded perfectly