SA-MP Forums Archive
Another thread about a 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: Another thread about a mysql error (/showthread.php?tid=541513)



Another thread about a mysql error - siemka321 - 12.10.2014

Quote:

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[15:14:25]
[15:14:25] Server Plugins
[15:14:25] --------------
[15:14:25] Loading plugin: mysql
[15:14:25] Failed.
[15:14:25] Loading plugin: nativechecker
[15:14:25] Loaded.
[15:14:25] Loaded 1 plugins.

[15:14:25]
[15:14:25] Filterscripts
[15:14:25] ---------------
[15:14:25] Loading filterscript 'gl_realtime.amx'...
[15:14:25] Loaded 1 filterscripts.

[15:14:25] Error: Function not registered: 'mysql_connect'
[15:14:25] Error: Function not registered: 'mysql_tquery'
[15:14:25] Error: Function not registered: 'mysql_log'
[15:14:25] Error: Function not registered: 'cache_get_row_count'
[15:14:25] Error: Function not registered: 'orm_create'
[15:14:25] Error: Function not registered: 'orm_addvar_int'
[15:14:25] Error: Function not registered: 'orm_addvar_string'
[15:14:25] Error: Function not registered: 'orm_addvar_float'
[15:14:25] Error: Function not registered: 'orm_setkey'
[15:14:25] Error: Function not registered: 'orm_apply_cache'
[15:14:25] Error: Function not registered: 'orm_update'
[15:14:25] Script[gamemodes/NLK.amx]: Run time error 19: "File or function is not found"
[15:14:25] Number of vehicle models: 0

I don't get it, I have mysql in my plugins, the gamemode only uses mysql and zcmd includes, it compiles without an error, I have libmysql.dll in my server directory. I'm using mysql r39 by the way.

Here's my server.cfg

Quote:

echo Executing Server Config...
lanmode 0
rcon_password password
maxplayers 64
port 4980
hostname TestServer
gamemode0 NLK
filterscripts gl_realtime
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
mapname Red County
plugins mysql nativechecker

Anyone have an idea on what's wrong?


Re: Another thread about a mysql error - siemka321 - 12.10.2014

Still no solution...


Re: Another thread about a mysql error - Sawalha - 12.10.2014

Quote:
Originally Posted by Github - MySQL;
Q: The plugin just fails to load on Windows, how can I fix this?
A: You have to install the Microsoft C++ redistributables (2010 (x86), 2010 SP1 (x86) and 2012 (x86)).
You may need this, have you got them in your Windows?


Re: Another thread about a mysql error - siemka321 - 12.10.2014

I do have them, but I should try installing them again, just in case.


Re: Another thread about a mysql error - nmader - 12.10.2014

Looks like you have an incorrect plugin version. Your script is using one, the .inc, and it does not match the plugin. Based off of this, it would appear that it is the plugin (.dll), seeing as your server attempts to load the others.


Re: Another thread about a mysql error - siemka321 - 12.10.2014

Quote:
Originally Posted by nmader
Посмотреть сообщение
Looks like you have an incorrect plugin version. Your script is using one, the .inc, and it does not match the plugin. Based off of this, it would appear that it is the plugin (.dll), seeing as your server attempts to load the others.
Nope, tried downloading the same version, replaced all the files. Still the same error.