MySQL plugin just refuses to load
#1

Hello everyone,
before you start saying "Put it in the 'plugins' folder / Add it on the server.cfg / Download latest version" I would like to tell you, I have tried everything .... It was loading in the beginning, but today, it gave out some strange errors when I updated to the latest version (I'm using BlueG's MySQL plugin) and now it just refuses to load. I deleted everything and tried it all over again, well the god damn plugin still refuses to load ....

I just started learning MySQL and now this shit happens and I'm losing interest, but I don't want to give up. So please SOMEONE help me out

Here's the server log

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

[09:36:37] filterscripts = ""  (string)
[09:36:37] 
[09:36:37] Server Plugins
[09:36:37] --------------
[09:36:37]  Loading plugin: mysql
[09:36:37]   Failed.
[09:36:37]  Loading plugin: whirlpool
[09:36:37]  
[09:36:37]  ==================
[09:36:37]  
[09:36:37]   Whirlpool loaded
[09:36:37]  
[09:36:37]  ==================
[09:36:37]  
[09:36:37]   Loaded.
[09:36:37]  Loading plugin: nativechecker
[09:36:37]   Loaded.
[09:36:37]  Loaded 2 plugins.

[09:36:37] 
[09:36:37] Filterscripts
[09:36:37] ---------------
[09:36:37]   Loaded 0 filterscripts.

[09:36:37]    Error: Function not registered: 'mysql_log'
[09:36:37]    Error: Function not registered: 'mysql_connect'
[09:36:37]    Error: Function not registered: 'mysql_errno'
[09:36:37]    Error: Function not registered: 'mysql_format'
[09:36:37]    Error: Function not registered: 'mysql_tquery'
[09:36:37] Script[gamemodes/test.amx]: Run time error 19: "File or function is not found"
[09:36:37] Number of vehicle models: 0
There isn't even mysql log, as it's not even loading (doh).

If any of you could help me, please do so ....
Reply
#2

Windows or Linux?
If windows, be sure that you install the Microsoft Visual C++ 2010 Redistributable.
Reply
#3

You must put correct version of mysql plugin in plugins folder then in pawno/include correct mysql.inc then you must recompile gamemode. If you are running a server on your home host then make sure that you have right microsoft visual c++ 2010 2012 and 2013 and also that microsoft visual c++ must be in x86 which is 32 bit and plugins are running on 32 bit version that thee same problem I have and I downloaded that stuff and it's work with no problems iff you need more help about microsoft visual c++ ask me on pm and we will solve it before that make sure that you have correct plugin and a_mysql.inc then recompile gamemode install microsoft visual c++ and it will work

http://www.microsoft.com/en-us/downl...s.aspx?id=5555

http://www.microsoft.com/en-us/downl....aspx?id=30679 --> here just click on download and under File name choose VSU_4\vcredist_x86.exe

http://www.microsoft.com/en-us/downl....aspx?id=40784 --> the ssame is here click on download then choose vcredist_x86.exe

after you install those three restart you pc compile gamemode with your plugin and a_mysql.inc and it will work. I hope so that I help you.
Reply
#4

Quote:
Originally Posted by Luca12
View Post
You must put correct version of mysql plugin in plugins folder then in pawno/include correct mysql.inc then you must recompile gamemode. If you are running a server on your home host then make sure that you have right microsoft visual c++ 2010 2012 and 2013 and also that microsoft visual c++ must be in x86 which is 32 bit and plugins are running on 32 bit version that thee same problem I have and I downloaded that stuff and it's work with no problems iff you need more help about microsoft visual c++ ask me on pm and we will solve it before that make sure that you have correct plugin and a_mysql.inc then recompile gamemode install microsoft visual c++ and it will work

http://www.microsoft.com/en-us/downl...s.aspx?id=5555

http://www.microsoft.com/en-us/downl....aspx?id=30679 --> here just click on download and under File name choose VSU_4\vcredist_x86.exe

http://www.microsoft.com/en-us/downl....aspx?id=40784 --> the ssame is here click on download then choose vcredist_x86.exe

after you install those three restart you pc compile gamemode with your plugin and a_mysql.inc and it will work. I hope so that I help you.
I forgot to try this and I did tried it ... Sadly still no result ....

Can this be caused because when I updated to mysql r39-2 (latest release), it gave me error that some .dll's are missing and I added them manually ?

UPDATE: Nevermind, I'm going to learn MySQL on my laptop It just runs smoothly there and I don't even want to bother fixing something, that probably I won't need in 1 year.
Reply
#5

Make sure you have all the required plugins on your PC
Instead of using that laptop.

I know this sounds strange. But put the SQL plugin at the START of the plugins list. If your using one.
Whirlpool can also perform this.

It fixed the SSCANF plugin for me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)