SA-MP Forums Archive
pBlueG mysql error on Windows - 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: pBlueG mysql error on Windows (/showthread.php?tid=531215)



pBlueG mysql error on Windows - Emre__ - 11.08.2014

Hello everyone,

I'm using pBlueG's latest version of mysql plugin. For the testing purposes when I start the server on my laptop it says

Код:
[18:43:15]  Loading plugin: mysql
[18:43:15]   Failed.
even though I have libmysql.dll and msvcr110.dll on the root folder and mysql.dll in plugins folder. What is the problem?


Re: pBlueG mysql error on Windows - SKAzini - 11.08.2014

Try using crashdetect to see if you can get the source of the problem (not sure if crashdetect shows plugin errors).

Also, post the full server log.


Re: pBlueG mysql error on Windows - Emre__ - 11.08.2014

Quote:
Originally Posted by SKAzini
Посмотреть сообщение
Try using crashdetect to see if you can get the source of the problem (not sure if crashdetect shows plugin errors).

Also, post the full server log.
Oh silly me I was going to post it but forgot. Here is the server_log.txt

Код:
----------
Loaded log file: "server_log.txt".
----------

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

[18:43:15] 
[18:43:15] Server Plugins
[18:43:15] --------------
[18:43:15]  Loading plugin: mysql
[18:43:15]   Failed.
[18:43:15]  Loading plugin: sscanf
[18:43:15] 

[18:43:15]  ===============================

[18:43:15]       sscanf plugin loaded.     

[18:43:15]          Version:  2.8.1        

[18:43:15]    © 2012 Alex "******" Cole  

[18:43:15]  ===============================

[18:43:15]   Loaded.
[18:43:15]  Loading plugin: streamer
[18:43:15] 

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

[18:43:15]   Loaded.
[18:43:15]  Loading plugin: regex
[18:43:15] 


[18:43:15] ______________________________________


[18:43:15]  Regular Expression Plugin v0.2.0 loaded
[18:43:15] ______________________________________


[18:43:15]  By: Fro © Copyright <TBG> 2009-2011
[18:43:15] ______________________________________


[18:43:15]   Loaded.
[18:43:15]  Loading plugin: nativechecker
[18:43:15]   Loaded.
[18:43:15]  Loaded 4 plugins.

[18:43:15] 
[18:43:15] Filterscripts
[18:43:15] ---------------
[18:43:15]   Loading filterscript 'Objects.amx'...
[18:43:15]   Loaded 1 filterscripts.

[18:43:15]    Error: Function not registered: 'cache_get_data'
[18:43:15]    Error: Function not registered: 'mysql_tquery'
[18:43:15]    Error: Function not registered: 'cache_get_row'
[18:43:15]    Error: Function not registered: 'cache_insert_id'
[18:43:15]    Error: Function not registered: 'mysql_escape_string'
[18:43:15]    Error: Function not registered: 'mysql_log'
[18:43:15]    Error: Function not registered: 'mysql_connect'
[18:43:15]    Error: Function not registered: 'mysql_errno'
[18:43:15] Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
[18:43:15] Number of vehicle models: 0



Re: pBlueG mysql error on Windows - SKAzini - 11.08.2014

Make sure you have this.

Also try loading mysql.dll as the last plugin and see if something happens.


Re: pBlueG mysql error on Windows - Emre__ - 11.08.2014

Quote:
Originally Posted by SKAzini
Посмотреть сообщение
Make sure you have this.

Also try loading mysql.dll as the last plugin and see if something happens.
My computer has latest version of dot net which is 4.5 and trying to load mysql.dll as last plugin also didn't solve the problem.


Re: pBlueG mysql error on Windows - Emre__ - 11.08.2014

I also check Log Viewer on Administrative Tools but couldn't find anything


Re: pBlueG mysql error on Windows - Emre__ - 11.08.2014

Please someone must have been had the same error before please help me


Re: pBlueG mysql error on Windows - GWMPT - 11.08.2014

Are you getting any kind of errors?
You need to give any kind of information you have so we can assist you.


Re: pBlueG mysql error on Windows - Emre__ - 11.08.2014

Quote:
Originally Posted by Kikito
Посмотреть сообщение
Are you getting any kind of errors?
You need to give any kind of information you have so we can assist you.
No. It was giving an error about msvcr110.dll and I copied the file on samp-server.exe directory. Now the only problem is that plugin isn't loaded.


Re: pBlueG mysql error on Windows - GWMPT - 11.08.2014

Just to make sure...
Install microsoft visual c++ redistributable 2010 directly from microsoft website.