Problem with my server [MYSQL]
#1

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]
Reply
#2

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

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

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.
Reply
#4

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

How can i fix those things though?
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)