SA-MP Forums Archive
MySQL Error 19 LINUX (CentOS) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySQL Error 19 LINUX (CentOS) (/showthread.php?tid=537345)



MySQL Error 19 LINUX (CentOS) - psp12321 - 14.09.2014

Hello!

I just want to switch my MySQL based server script on Linux, but I just doesn't understand why it always get an Run time error 19: "File or function is not found".

I use same plugins, but it's like the lib or I don't know are not here (libmysqlclient.so).

I don't know what to search for because I'm not super good with Linux :/

Quote:

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

[03:07:21] filterscripts = "" (string)
[03:07:21]
[03:07:21] Server Plugins
[03:07:21] --------------
[03:07:21] Loading plugin: mysql.so
[03:07:21] SA:MP MySQL Plugin v2.1.1 Loaded.
[03:07:21] Loaded.
[03:07:21] Loading plugin: streamer.so
[03:07:21]

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

[03:07:21] Loaded.
[03:07:21] Loading plugin: sscanf.so
[03:07:21]

[03:07:21] ===============================

[03:07:21] sscanf plugin loaded.

[03:07:21] © 2009 Alex "******" Cole

[03:07:21] 0.3d-R2 500 Players "dnee"

[03:07:21] ===============================

[03:07:21] Loaded.
[03:07:21] Loading plugin: nativechecker.so
[03:07:21] Loaded.
[03:07:21] Loaded 4 plugins.

[03:07:21] [MySQL] Thread running. Threadsafe: Yes.
[03:07:21]
[03:07:21] Filterscripts
[03:07:21] ---------------
[03:07:21] Loaded 0 filterscripts.

[03:07:21] Error: Function not registered: 'mysql_debug'
[03:07:21] Error: Function not registered: 'mysql_retrieve_row'
[03:07:21] Error: Function not registered: 'mysql_fetch_field_row'
[03:07:21] Script[gamemodes/CNR.amx]: Run time error 19: "File or function is not found"
[03:07:21] Number of vehicle models: 0

Here is the logs using nativechecker. Thanks


Re: MySQL Error 19 LINUX (CentOS) - Shaneisace - 15.09.2014

Код:
[03:07:21] Error: Function not registered: 'mysql_debug'
[03:07:21] Error: Function not registered: 'mysql_retrieve_row'
[03:07:21] Error: Function not registered: 'mysql_fetch_field_row'
This means your using the wrong version of MySQL to load them if not then the functions were changed manually.

but most likely be incorrect plugin version of mysql.so


Re: MySQL Error 19 LINUX (CentOS) - psp12321 - 15.09.2014

Okay thanks! I will try to find the same plugin version that the gamemode was made!

It's MySQL R5 but the link give a stange error 403 when I try to download (https://sampforum.blast.hk/showthread.php?tid=56564).

I will wait for a fix or try other version of the plugin! Thanks for your reply


Re: MySQL Error 19 LINUX (CentOS) - psp12321 - 17.09.2014

FIXED!

Back to Windows... Maybe next time Linux :/