Debian6 mysql error
#1

Hi I searched the forums but have not resolved. When I open the server gives me this error(With mysql linux)


Код:
[16:26:14]   Loaded.
[16:26:14]  Loading plugin: mysql.so
[16:26:14]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[16:26:14]  Loaded 1 plugins.
Reply
#2

Is this shared hosting or VPS? If shared hosting, you'll most likely need to contact your host so they can fix it for you.
Reply
#3

I have a dedicated server with linux
Reply
#4

Try running this command:

Код:
apt-get install libmysqlclient16-dev
Reply
#5

hotel355:/home/srv104# apt-get install libmysqlclient16-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libmysqlclient16-dev
Reply
#6

This should help:

http://forum.sa-mp.com/showpost.php?...postcount=2248
Reply
#7

Now work thanks

But get this error (in local it works perfectly)

[08:36:05] Script[gamemodes/mode.amx]: Run time error 19: "File or function is not found"
[08:36:05] Number of vehicle models: 0
Reply
#8

Which version of the mysql plugin are you using? My link was to the latest mysql.so (R7) but you might be using an older one and will need to download that instead.
Reply
#9

mysql version R6

Quote:

----------
Loaded log file: "server_log.txt".
----------

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

[09:28:50] filterscripts = "" (string)
[09:28:50]
[09:28:50] Server Plugins
[09:28:50] --------------
[09:28:50] Loading plugin: mysql.so
[09:28:50]

> MySQL plugin R6 successfully loaded.

[09:28:50] Loaded.
[09:28:50] Loaded 1 plugins.

[09:28:50]
[09:28:50] Filterscripts
[09:28:50] ---------------
[09:28:50] Loaded 0 filterscripts.

[09:28:50] Script[gamemodes/fdmode.amx]: Run time error 19: "File or function is not found"
[09:28:50] Number of vehicle models: 0


mysql_log.txt

Quote:

[08:34:49] Unloading Plugin
[08:34:49] Unloading Plugin
[09:25:38] Unloading Plugin
[09:25:38] Unloading Plugin
[09:25:38] Unloading Plugin

Reply
#10

how to fix this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)