SA-MP Forums Archive
Server Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server Help (/showthread.php?tid=177073)



Server Help - James124 - 16.09.2010

Hello there,

I'm trying to run the libmysqlclient.so Plugin on a Linxux CentOS 5 64 Bit server.

When I use the plugin that comes with it I get an error saying it cann't connect to the Database.


Here's what happen's when I use one I have compiled.




Here's The Standered one:


[23:16:19] Loading filter script 'RAdmin.amx'...
[23:16:19] ++++++++++++++++++++++++++++++++++++++
[23:16:19] ++ RAdmin (R@f Admin) V0.0.1 ++
[23:16:19] ++ Last official Update : 28.02.09 ++
[23:16:19] ++ Script by Rafael 'R@f' Keramidas ++
[23:16:19] ++++++++++++++++++++++++++++++++++++++
[23:16:19] ~RAdmin~ MySQL: Connecting (host: localhost) (user: harry_cpanel) (database: harry_cpanel)
[23:16:19]
Connection to MySQL database: Failed !
[23:16:19] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
[23:16:19] Error in mysql_select_db: MySQL server has gone away
[23:16:19] ~RAdmin~ MySQL: First connecting attempt failed!
[23:16:19] ~RAdmin~ MySQL: Connecting (host: localhost) (user: harry_cpanel) (database: harry_cpanel)
[23:16:19]
Connection to MySQL database: Failed !
[23:16:19] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
[23:16:19] Error in mysql_select_db: MySQL server has gone away
[23:16:19] ~RAdmin~ MySQL: Second connecting attempt failed!
[23:16:19] ~RAdmin~ MySQL: MySQL progress terminated!
[23:16:19] Error in mysql_query: MySQL server has gone away
[23:16:19] Error in mysql_store_result: MySQL server has gone away






Heres with one I downloaded from the forums some where.


SA-MP Dedicated Server
----------------------
v0.3b R2, ©2005-2010 SA-MP Team

[22:41:58] gamemode1 = "" (string)
[22:41:58] gamemode2 = "" (string)
[22:41:58] gamemode3 = "" (string)
[22:41:58]
[22:41:58] Server Plugins
[22:41:58] --------------
[22:41:58] Loading plugin: libmysqlclient.so
[22:41:58] Plugin does not conform to architecture.
[22:41:58] Failed.
[22:41:58] Loaded 0 plugins.

Can someone please help me....


Re: Server Help - [HiC]TheKiller - 16.09.2010

Make sure the sa-mp server has the right permissions and make sure that the MySQL info is correct.


Re: Server Help - James124 - 16.09.2010

the server is in serverffs


Re: Server Help - James124 - 16.09.2010

Need Help real quick please ! It restart my sever


Re: Server Help - Cameltoe - 16.09.2010

Dont double post, im not sure about there may be a problem if the plugin isnt compiled to 64 x


Re: Server Help - James124 - 16.09.2010

It is correct and was compiled from source via SSH on the machine in question but still it isnt working