SA-MP Forums Archive
MySQL plugin Failed to load - 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 plugin Failed to load (/showthread.php?tid=461618)



MySQL plugin Failed to load - Armyy - 02.09.2013

Hello, i am using BlueG MySQL plugin R8 with new functions like cache_get_row_int, but when i want to start server i get just this..

Код:
[19:33:23] filterscripts = ""  (string)
[19:33:23] 
[19:33:23] Server Plugins
[19:33:23] --------------
[19:33:23]  Loading plugin: mysql.dll
[19:33:23]   Failed.
[19:33:23]  Loaded 0 plugins.

[19:33:23] 
[19:33:23] Filterscripts
[19:33:23] ---------------
[19:33:23]   Loaded 0 filterscripts.

[19:33:23] Script[gamemodes/mod.amx]: Run time error 19: "File or function is not found"
[19:33:23] Number of vehicle models: 0
I have all things all right, because when i am using R7 version what is not supporting cache_get_row_int server starts normally. I was testing so much things with it, but none works, so where can be problem?


Re: MySQL plugin Failed to load - Konstantinos - 02.09.2013

Hmm, check the mysql log if it shows any information. Make sure you've the file libmysql.dll to the main directory.


Re: MySQL plugin Failed to load - Armyy - 02.09.2013

I have all of it.. mysql_log dont show any information before server successfully starts and have libmysql.dll in the main directory.


Re: MySQL plugin Failed to load - Konstantinos - 02.09.2013

It's really weird if the previous version works, but the next does not. Try loading crashdetect (I doubt if it gives something else except mysql functions, but give a try).


Re: MySQL plugin Failed to load - Luis- - 02.09.2013

You sure you've got the plugin in your plugins folder and is using the "mysql" name. Looks like it's not finding it.


Re: MySQL plugin Failed to load - Armyy - 02.09.2013

I never use crashdetect before this, but i hope u mean plugin, so here is log:

Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[19:51:03] filterscripts = ""  (string)
[19:51:03] 
[19:51:03] Server Plugins
[19:51:03] --------------
[19:51:03]  Loading plugin: mysql.dll
[19:51:03]   Failed.
[19:51:03]  Loading plugin: crashdetect.dll
[19:51:03]   crashdetect v4.8.5 is OK.
[19:51:03]   Loaded.
[19:51:03]  Loaded 1 plugins.

[19:51:03] 
[19:51:03] Filterscripts
[19:51:03] ---------------
[19:51:03]   Loaded 0 filterscripts.

[19:51:03] [debug] Run time error 19: "File or function is not found"
[19:51:03] [debug]  cache_get_data
[19:51:03] [debug]  mysql_tquery
[19:51:03] [debug]  mysql_log
[19:51:03] [debug]  mysql_connect
[19:51:03] [debug]  mysql_close
[19:51:03] [debug]  mysql_escape_string
[19:51:03] [debug]  cache_get_row_int
[19:51:03] Script[gamemodes/mod.amx]: Run time error 19: "File or function is not found"
[19:51:03] Number of vehicle models: 0



Re: MySQL plugin Failed to load - Konstantinos - 02.09.2013

Yes, I meant the plugin. It gives nothing except the mysql functions because the plugin failed.

I really don't know why, I'm sorry.


Re: MySQL plugin Failed to load - Luis- - 02.09.2013

You're not using R8. You're using R32 by the looks of it.


Re: MySQL plugin Failed to load - Armyy - 02.09.2013

Yes it's r31(and it belongs to the r8 version ? or nvm). All versions before r31, but over r7 is not working. But it is not cause of my problem, or yes ?


Re: MySQL plugin Failed to load - Luis- - 02.09.2013

Are you sure you're removing the older MySQL file and adding the new file, and doing the same with the include?