MySQL error (Plugin or DB issues)
#1

Hey,

I'm Jake here with a Linux Debain VPS.

I have setup my database, its tables and dependencies. I have correctly in putted it inside the script I wish to use as well as set up webmin 1.5.

Everything goes fine until I put in this script in particular. The server loads fine from my custom code VIA Webmin yet when I open my sa-mp client it gives me an error shown below;



When I view the logs; I get this -

[15:50:45] --- Server Shutting Down.
[15:50:45]


> MySQL plugin unloaded.


----------

Loaded log file: "server_log.txt".

----------

SA-MP Dedicated Server
----------------------
v0.3a R4, ©2005-2009 SA-MP Team

[15:50:51]
filterscripts = "" (string)
[15:50:51]
[15:50:51] Server Plugins
[15:50:51] --------------
[15:50:51]
Loading plugin: sampmysql.so
[15:50:51]

> MySQL plugin R4-2 successfully loaded.

[15:50:51] Loaded.
[15:50:51]
Loading plugin: libmysqlclient.so.15
[15:50:51] Plugin does not conform to architecture.
[15:50:51] Failed.
[15:50:51]
Loaded 1 plugins.

[15:50:51]
[15:50:51] Ban list
[15:50:51] --------
[15:50:51] Loaded: samp.ban
[15:50:51]

[15:50:51]
[15:50:51] Filter Scripts
[15:50:51] ---------------
[15:50:51] Loaded 0 filter scripts.

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

Obviously, the problem has to do with the game mode or MySQL... Seeing as the game mode works 100% fine, I don't see why...

Now, I have these files as shown below;



And my configuration file;



I'm really stumped, guys.

Thanks in advance,
Jake
Reply
#2

libmysqlclient.so.15 doesn't need to be in the plugins section but the main sever directory
Reply
#3

libmysqlclient.so.15 is a MySQL library for Linux, not a SA:MP plugin. Remove "libmysqlclient.so.15" from your configuration and move libmysqlclient.so.15 to this directory on your VPS "/usr/lib/"
Reply
#4

Didn't help a thing.
Reply
#5

go to your ftp -> right click in the mysql.so (your mysql plugin ) properties CHMOD > 777 or 779 . apply . test.
Reply
#6

Whats the output of:
# cd /usr/lib && ls -l | grep libmysqlclient
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)