Problem with MySQL - 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: Problem with MySQL (
/showthread.php?tid=599336)
Problem with MySQL -
Mencent - 24.01.2016
Hi.
I have a small issue. Some days ago I installed Windows 10 on my Computer and now I want to script something.
But, I get this message in my Server.log:
PHP код:
[16:48:16]
[16:48:16] Server Plugins
[16:48:16] --------------
[16:48:16] Loading plugin: mysql
[16:48:16] Failed.
[16:48:16] Loading plugin: nativechecker
[16:48:16] Loaded.
[16:48:16] Loaded 1 plugins.
[16:48:16]
[16:48:16] Filterscripts
[16:48:16] ---------------
[16:48:16] Loaded 0 filterscripts.
[16:48:16] Error: Function not registered: 'mysql_connect'
[16:48:16] Error: Function not registered: 'mysql_close'
[16:48:16] Error: Function not registered: 'mysql_format'
[16:48:16] Error: Function not registered: 'mysql_tquery'
[16:48:16] Error: Function not registered: 'cache_get_row_count'
[16:48:16] Script[gamemodes/NovelDM.amx]: Run time error 19: "File or function is not found"
[16:48:16] Number of vehicle models: 0
Well, I checked all plugins (explicit mysql) and replaced them. But nothing has changed, I get the same message than before.
I hope someone can help me.
Thanks!
Re: Problem with MySQL -
valych - 24.01.2016
According to your logs:
Код:
[16:48:16]
[16:48:16] Server Plugins
[16:48:16] --------------
[16:48:16] Loading plugin: mysql
[16:48:16] Failed.
The word "Failed" means that plugin wasn't loaded. Make sure that you did every step of the plugin's installation guide.
Re: Problem with MySQL -
jlalt - 24.01.2016
Be sure you have putted libmysql.dll in your server folder, you can find it on MySQL plugin zip file if not here is it below [ R39-4 ]
Re: Problem with MySQL -
Mencent - 25.01.2016
Hi.
I fixed the issue yesterday. My problem was that I missed some Installation packages of Windows.
Also I use MySQL R39-2 yet, because this works.