Problem loading mysql.dll
#1

I am using windows xp sp3
I have Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) installed
The gamemode is not the problem(coz it worked b4 i installed windows )
I use https://sampforum.blast.hk/showthread.php?tid=122983 this mysql plugin
I recompiled with the new includes and everything .
I searched the forum but didnt find anything that can help .
I have the mysql.dll in /plugins, libmysql.dll in the sa-mp server directory and added the plugin to the cfg.

server.cfg
Код:
echo Executing Server Config...
lanmode 0
rcon_password 1123as
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 GM 1
filterscripts
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
plugins sscanf.dll mysql.dll nativechecker.dll
logtimeformat [%H:%M:%S]
server_log.txt
Код:
SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[06:20:51] filterscripts = ""  (string)
[06:20:51] 
[06:20:51] Server Plugins
[06:20:51] --------------
[06:20:51]  Loading plugin: sscanf.dll
[06:20:51] 

[06:20:51]  ===============================

[06:20:51]       sscanf plugin loaded.     

[06:20:51]          Version:  2.8.1        

[06:20:51]    © 2012 Alex "******" Cole  

[06:20:51]  ===============================

[06:20:51]   Loaded.
[06:20:51]  Loading plugin: mysql.dll
[06:20:51]   Failed.
[06:20:51]  Loading plugin: nativechecker.dll
[06:20:51]   Loaded.
[06:20:51]  Loaded 2 plugins.

[06:20:51] 
[06:20:51] Filterscripts
[06:20:51] ---------------
[06:20:51]   Loaded 0 filterscripts.

[06:20:51]    Error: Function not registered: 'mysql_init'
[06:20:51]    Error: Function not registered: 'mysql_close'
[06:20:51]    Error: Function not registered: 'mysql_query'
[06:20:51]    Error: Function not registered: 'mysql_connect'
[06:20:51]    Error: Function not registered: 'mysql_ping'
[06:20:51]    Error: Function not registered: 'mysql_store_result'
[06:20:51]    Error: Function not registered: 'mysql_fetch_row'
[06:20:51]    Error: Function not registered: 'mysql_fetch_field'
[06:20:51]    Error: Function not registered: 'mysql_free_result'
[06:20:51]    Error: Function not registered: 'mysql_num_rows'
[06:20:51] Script[gamemodes/GM.amx]: Run time error 19: "File or function is not found"
[06:20:51] Number of vehicle models: 0
[06:20:52] --- Server Shutting Down.
[06:20:52] 

[06:20:52]  ===============================

[06:20:52]      sscanf plugin unloaded.    

[06:20:52]  ===============================
The problem is that the mysql.dll plugin aint loading

I know ,is more of an OS problem ...

LE : I think im missing some dll's in system32 , but i dont know wich one
Reply
#2

StrickenKid's MySQL plugin is too outdated, I strongly recommend you to use BlueG's plugin (latest version - threaded queries) since it's better/faster.
Reply
#3

Do i have to change every query for that ?
Reply
#4

The queries are pretty much the same, the syntax differ. I believe that it's worth to spend few hours for that.
Reply
#5

Ok , Ty for your help but i am too laizy to change everything ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)