Problem with MySQL Plugin
#1

my server got moved to a new machine so i need to upload the server files again.
I've upload the same server files which i had in my previous server. but now i got these errors when i upload MySQ plugin.

Sorry but i search around on internet/****** alot but couldn't find a shit. so i think i could get help from here.
when i upload mysql plugin and start the server so i got these errors.

Code:
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[10:49:03] password = ""  (string)
[10:49:03] filterscripts = ""  (string)
[10:49:03] 
[10:49:03] Server Plugins
[10:49:03] --------------
[10:49:03]  Loading plugin: crashdetect.so
[10:49:03]   CrashDetect v4.13.1 is OK.
[10:49:03]   Loaded.
[10:49:03]  Loading plugin: mysql.so
[10:49:03]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[10:49:03]  Loading plugin: streamer.so
[10:49:03]   Loaded.
[10:49:03]  Loading plugin: sscanf.so
[10:49:03] 

[10:49:03]  ===============================

[10:49:03]       sscanf plugin loaded.     

[10:49:03]          Version:  2.8.1        

[10:49:03]    © 2012 Alex "Y_Less" Cole  

[10:49:03]  ===============================

[10:49:03]   Loaded.
[10:49:03]  Loaded 3 plugins.

[10:49:03] 
[10:49:03] Filterscripts
[10:49:03] ---------------
[10:49:03]   Loaded 0 filterscripts.

[10:49:03] [debug] Run time error 19: "File or function is not found"
[10:49:03] [debug]  mysql_function_query
[10:49:03] [debug]  mysql_connect
[10:49:03] [debug]  mysql_ping
[10:49:03] [debug]  mysql_debug
[10:49:03] [debug]  mysql_close
[10:49:03] [debug]  cache_get_data
[10:49:03] [debug]  cache_get_row
[10:49:03] [debug]  cache_get_row_int
[10:49:03] [debug]  mysql_real_escape_string
[10:49:03] [debug]  cache_get_field_content
[10:49:03] [debug]  mysql_insert_id
[10:49:03] [debug]  cache_get_row_float
[10:49:03] [debug] Run time error 19: "File or function is not found"
[10:49:03] [debug]  mysql_function_query
[10:49:03] [debug]  mysql_connect
[10:49:03] [debug]  mysql_ping
[10:49:03] [debug]  mysql_debug
[10:49:03] [debug]  mysql_close
[10:49:03] [debug]  cache_get_data
[10:49:03] [debug]  cache_get_row
[10:49:03] [debug]  cache_get_row_int
[10:49:03] [debug]  mysql_real_escape_string
[10:49:03] [debug]  cache_get_field_content
[10:49:03] [debug]  mysql_insert_id
[10:49:03] [debug]  cache_get_row_float
[10:49:03] Script[gamemodes/eXs.amx]: Run time error 19: "File or function is not found"
[10:49:03] Number of vehicle models: 0
If it is the problem of mysql client library then please give me details about that. cause i couldn't find the link and i don't know the useage of libmysqlclient_r.so.16
Reply
#2

If you have SSH access:
(Debian based)
Code:
apt-get update
apt-get upgrade
apt-get install mysql-common mysql-client
If it still doesn't work then use the static version of the plugin instead.
Reply
#3

Quote:
Originally Posted by Vince
View Post
If you have SSH access:
(Debian based)
Code:
apt-get update
apt-get upgrade
apt-get install mysql-common mysql-client
If it still doesn't work then use the static version of the plugin instead.
Ahh! wait whats that in codes?

and i also tried static version and it get loads but gamemode was unknown.
Reply
#4

BUMP!
Anyone else please
Reply
#5

Download this file libmysqlclient_r.so.16 and put it under your server folder
Reply
#6

or read this
http://forum.sa-mp.com/showpost.php?...&postcount=553
Reply
#7

Yeah. Can i have the link of libmysqlclient_r.so.16?

I search alot but couldn't find.
Reply
#8

Just type 'download libmysqlclient_r.so.16' on ****** and you'll find it. I did that plenty of times and always got results.
Reply
#9

ok downloaded. so i need to put it in main directory of my server files? with samp-server.exe, announce.exe etc?
Reply
#10

Quote:
Originally Posted by NGEN123
View Post
ok downloaded. so i need to put it in main directory of my server files? with samp-server.exe, announce.exe etc?
Wait, are you hosting the server on a linux machine or a windows ? Because .so = linux and .exe = windows.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)