MySQL Plugin Load Problem
#1

The thing is that MySQL R7 plugin won't load.
Here is the server log:
Код:
SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:42:19] filterscripts = ""  (string)
[11:42:19] 
[11:42:19] Server Plugins
[11:42:19] --------------
[11:42:19]  Loading plugin: streamer
[11:42:19] filterscripts = ""  (string)
[11:42:19] 
[11:42:19] Server Plugins
[11:42:19] --------------
[11:42:19]  Loading plugin: streamer
[11:42:19] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[11:42:19]   Loaded.
[11:42:19]  Loading plugin: sscanf
[11:42:19] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[11:42:19]   Loaded.
[11:42:19]  Loading plugin: sscanf
[11:42:19] 

[11:42:19]  ===============================

[11:42:19]       sscanf plugin loaded.     

[11:42:19]          Version:  2.8.1        

[11:42:19]    © 2012 Alex "******" Cole  

[11:42:19]  ===============================

[11:42:19]   Loaded.
[11:42:19]  Loading plugin: mysql
[11:42:19] 

[11:42:19]  ===============================

[11:42:19]       sscanf plugin loaded.     

[11:42:19]          Version:  2.8.1        

[11:42:19]    © 2012 Alex "******" Cole  

[11:42:19]  ===============================

[11:42:19]   Loaded.
[11:42:19]  Loading plugin: mysql
[11:42:19]   Failed.
[11:42:19]  Loaded 2 plugins.

[11:42:19]   Failed.
[11:42:19]  Loaded 2 plugins.

[11:42:19] 
[11:42:19] Filterscripts
[11:42:19] ---------------
[11:42:19]   Loaded 0 filterscripts.

[11:42:19] 
[11:42:19] Filterscripts
[11:42:19] ---------------
[11:42:19]   Loaded 0 filterscripts.

[11:42:19] Script[gamemodes/coarp.amx]: Run time error 19: "File or function is not found"
[11:42:19] Number of vehicle models: 0
[11:42:19] Script[gamemodes/coarp.amx]: Run time error 19: "File or function is not found"
[11:42:19] Number of vehicle models: 0
[11:42:22] --- Server Shutting Down.
[11:42:22] 

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[11:42:22] 

[11:42:22]  ===============================

[11:42:22]      sscanf plugin unloaded.    

[11:42:22]  ===============================

[11:42:25] --- Server Shutting Down.
[11:42:25] 

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[11:42:25] 

[11:42:25]  ===============================
And server.cfg:
Код:
echo Executing Server Config...
lanmode 0
rcon_password pass
password pass
maxplayers 150
port 7777
hostname SAMP Server
gamemode0 rp 1
filterscripts 
plugins streamer sscanf mysql
announce 0
query 1
weburl www.sa-mp.com
mapname Fort Carson
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
logtimeformat [%H:%M:%S]
I do have mysql.dll in plugins folder & libmysql.dll in root directory.
Anyone knows a solution for this?
Reply
#2

Maybe write on plugins "mysql.dll" and not "mysql", and is the plugin on the top of your script, like "#include <mysql>"?
Reply
#3

No, mysql.dll in server.cfg won't work.
Includes:
Код:
#include <a_samp>
#include <a_mysql>
#include <streamer>
#include <sscanf2>
#include <foreach>
#include <YSI\y_commands>
#include <YSI\y_timers>
Reply
#4

If your server is running Linux you need to write the full filename "mysql.so" (make sure you have the linux .SO version, not the windows .DLL!), case sensitive. If you're running windows just "mysql" works.
Reply
#5

It's running on windows. And, all of this works on my laptop but not on computer so I guess it's connected to Net framework or Visual C++ package but still can't get it work.
Reply
#6

I know this is an old thread, but I am experiencing this problem.
Reply
#7

download and Install vcredist 2012 x64 and x86..
install both
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)