SA-MP Forums Archive
libmysql.so ? - 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)
+--- Thread: libmysql.so ? (/showthread.php?tid=274343)



libmysql.so ? - Danielo - 05.08.2011

I tried to run my server on linux but it won't connect to local database .
Giving me this :
Код:
SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team
[01:58:47] 
[01:58:47] Server Plugins
[01:58:47] --------------
[01:58:47]  Loading plugin: sampmysql.so
[01:58:47]   Failed (libmysqlclient.so.15: wrong ELF class: ELFCLASS64)
[01:58:47]  Loaded 0 plugins.

[01:58:47] 
[01:58:47] Filter Scripts
[01:58:47] ---------------
[01:58:47]   Loaded 0 filter scripts.

[01:58:47] Script[gamemodes/topfragrpg.amx]: Run time error 19: "File or function is not found"



Re: libmysql.so ? - Danielo - 05.08.2011

Anyone?!


Re: libmysql.so ? - taborda11 - 05.08.2011

In your server.cfg your FS and GM name is the same as the files?


Re: libmysql.so ? - Danielo - 05.08.2011

Yeah..


Re: libmysql.so ? - Roberteu11 - 02.05.2012

I have this problem, but I don`t know how to fix it.


Re: libmysql.so ? - ikey07 - 02.05.2012

Use this MySQL plugin:
https://sampforum.blast.hk/showthread.php?tid=122983

Download this version:
Static Linux Distributions (Use on Hosted Servers e.g. ServerFFS)


Re: libmysql.so ? - WackoX - 02.05.2012

Use another Linux version of the plugin, or try ''apt-get install mysql-server''


Re: libmysql.so ? - Roberteu11 - 02.05.2012

The problem still persist. I tried all plugins, but nothing.

My server-log says:
Код:
[00:35:22]   Loaded.
[00:35:22]  Loading plugin: mysql.so
[00:35:22]  SA:MP MySQL Plugin v2.1.1 Loaded.
[00:35:22]   Loaded.
[00:35:22]  Loaded 3 plugins.

[00:35:22] [MySQL] Thread running. Threadsafe: Yes.
[00:35:22] 
[00:35:22] Filterscripts
[00:35:22] ---------------
[00:35:22]   Loaded 0 filterscripts.

[00:35:22] Script[gamemodes/GMtest.amx]: Run time error 19: "File or function is not found"
[00:35:22] Number of vehicle models: 0



Re: libmysql.so ? - WackoX - 02.05.2012

Quote:
Originally Posted by Roberteu11
Посмотреть сообщение
The problem still persist. I tried all plugins, but nothing.

My server-log says:
Код:
[00:35:22]   Loaded.
[00:35:22]  Loading plugin: mysql.so
[00:35:22]  SA:MP MySQL Plugin v2.1.1 Loaded.
[00:35:22]   Loaded.
[00:35:22]  Loaded 3 plugins.

[00:35:22] [MySQL] Thread running. Threadsafe: Yes.
[00:35:22] 
[00:35:22] Filterscripts
[00:35:22] ---------------
[00:35:22]   Loaded 0 filterscripts.

[00:35:22] Script[gamemodes/GMtest.amx]: Run time error 19: "File or function is not found"
[00:35:22] Number of vehicle models: 0
The MySQL plugin runs file now i see, it's something else thas causing the error, maybe another plugin is needed.


Re: libmysql.so ? - Roberteu11 - 02.05.2012

I don`t have acces to dedicated server. I`m a client of a hosting service.

#No, i`ve checked all plugins. It`s doesn`t miss.