SA-MP Forums Archive
Problem with my server [MYSQL] - 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: Problem with my server [MYSQL] (/showthread.php?tid=473087)



Problem with my server [MYSQL] - Rydur - 01.11.2013

Hello,

I have recently acquired this script off a friend of mine and i am trying to get the MySQL to work but i keep getting this error when booting.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:03:18] weburl = "www.sa-mp.com"  (string)
[11:03:18]
[11:03:18] Server Plugins
[11:03:18] --------------
[11:03:18]  Loading plugin: sscanf.so
[11:03:18]

[11:03:18]  ===============================

[11:03:18]       sscanf plugin loaded.

[11:03:18]    © 2009 Alex "******" Cole

[11:03:18]    0.3d-R2 500 Players "dnee"

[11:03:18]  ===============================

[11:03:18]   Loaded.
[11:03:18]  Loading plugin: streamer.so
[11:03:18]

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

[11:03:18]   Loaded.
[11:03:18]  Loading plugin: audio.so
[11:03:18]
*** Audio Plugin v0.4 by Incognito loaded ***

[11:03:18]   Loaded.
[11:03:18]  Loading plugin: whirlpool.so
[11:03:18]
[11:03:18]  ==================
[11:03:18]
[11:03:18]   Whirlpool loaded
[11:03:18]
[11:03:18]  ==================
[11:03:18]
[11:03:18]   Loaded.
[11:03:18]  Loading plugin: mysql.so
[11:03:18]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[11:03:18]  Loading plugin: nativechecker.so
[11:03:18]   Loaded.
[11:03:18]  Loaded 5 plugins.

[11:03:18]
[11:03:18] Filterscripts
[11:03:18] ---------------
[11:03:18]   Loading filterscript 'buttons.amx'...
[11:03:18]   Loaded 1 filterscripts.
[11:16:04]    Error: Function not registered: 'cache_get_data'
[11:16:04]    Error: Function not registered: 'cache_get_field_content'
[11:16:04]    Error: Function not registered: 'mysql_function_query'
[11:16:04]    Error: Function not registered: 'cache_get_row'

[11:03:18] Script[gamemodes/NGRP.amx]: Run time error 19: "File or function is not found"
[11:03:18] Number of vehicle models: 0
[11:03:23] --- Server Shutting Down.
[11:03:23]

[11:03:23]  ===============================

[11:03:23]      sscanf plugin unloaded.

[11:03:23]  ===============================

[11:03:23]



Re: Problem with my server [MYSQL] - iAnonymous - 01.11.2013

FOR GOD SAKE TRY TO USE THE F$%$%$% SEARCH BUTTON !

https://sampforum.blast.hk/showthread.php?tid=287759


Re: Problem with my server [MYSQL] - Astralis - 01.11.2013

Quote:
Originally Posted by Rydur
Посмотреть сообщение
Hello,

I have recently acquired this script off a friend of mine and i am trying to get the MySQL to work but i keep getting this error when booting.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:03:18] weburl = "www.sa-mp.com"  (string)
[11:03:18]
[11:03:18] Server Plugins
[11:03:18] --------------
[11:03:18]  Loading plugin: sscanf.so
[11:03:18]

[11:03:18]  ===============================

[11:03:18]       sscanf plugin loaded.

[11:03:18]    © 2009 Alex "******" Cole

[11:03:18]    0.3d-R2 500 Players "dnee"

[11:03:18]  ===============================

[11:03:18]   Loaded.
[11:03:18]  Loading plugin: streamer.so
[11:03:18]

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

[11:03:18]   Loaded.
[11:03:18]  Loading plugin: audio.so
[11:03:18]
*** Audio Plugin v0.4 by Incognito loaded ***

[11:03:18]   Loaded.
[11:03:18]  Loading plugin: whirlpool.so
[11:03:18]
[11:03:18]  ==================
[11:03:18]
[11:03:18]   Whirlpool loaded
[11:03:18]
[11:03:18]  ==================
[11:03:18]
[11:03:18]   Loaded.
[11:03:18]  Loading plugin: mysql.so
[11:03:18]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[11:03:18]  Loading plugin: nativechecker.so
[11:03:18]   Loaded.
[11:03:18]  Loaded 5 plugins.

[11:03:18]
[11:03:18] Filterscripts
[11:03:18] ---------------
[11:03:18]   Loading filterscript 'buttons.amx'...
[11:03:18]   Loaded 1 filterscripts.
[11:16:04]    Error: Function not registered: 'cache_get_data'
[11:16:04]    Error: Function not registered: 'cache_get_field_content'
[11:16:04]    Error: Function not registered: 'mysql_function_query'
[11:16:04]    Error: Function not registered: 'cache_get_row'

[11:03:18] Script[gamemodes/NGRP.amx]: Run time error 19: "File or function is not found"
[11:03:18] Number of vehicle models: 0
[11:03:23] --- Server Shutting Down.
[11:03:23]

[11:03:23]  ===============================

[11:03:23]      sscanf plugin unloaded.

[11:03:23]  ===============================

[11:03:23]
Код:
[11:03:18] Script[gamemodes/NGRP.amx]: Run time error 19: "File or function is not found"
seems legit.


Re: Problem with my server [MYSQL] - Rydur - 01.11.2013

Haha, it's just named NGRP. It's not actually it.

How can i fix those things though?


Re: Problem with my server [MYSQL] - StuartD - 01.11.2013

You are most likely using the wrong SQL plugin..

Or the wrong SQL version.

Also look for the libmysql and place that in your main server directory.