Loading mysql plugin - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Loading mysql plugin (
/showthread.php?tid=366371)
Loading mysql plugin -
Dan. - 06.08.2012
So got a new host, they are using CentOS but my MySQL plugin is not loading, this is the code:
Код:
Loading plugin: libmysqlclient.so.15
[12:37:43] Plugin does not conform to architecture.
[12:37:43] Failed.
Re: Loading mysql plugin.. NEED HELP QUICKLY! -
Mark™ - 06.08.2012
Download a CentOS build.
Re: Loading mysql plugin.. NEED HELP QUICKLY! -
ColorHost-Kevin - 06.08.2012
Need the CentOS version of the plugin.
You could also contact your host and see what they have to say and recommend.
Re: Loading mysql plugin.. NEED HELP QUICKLY! -
Dan. - 06.08.2012
Yeah, seems like that I downloaded the wrong build, but then this comes up:
Код:
[12:44:45] Server Plugins
[12:44:45] --------------
[12:44:45] Loading plugin: mysql.so
[12:44:45] Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
Although I have the file "libmysqlclient_r.so.15" in my server folder.
E:// Downloaded
https://sampforum.blast.hk/showthread.php?tid=56564 -- from here, R5 CentOS, like in my homehost.
Re: Loading mysql plugin.. NEED HELP QUICKLY! -
Mark™ - 06.08.2012
Quote:
Originally Posted by Dan.
Yeah, seems like that I downloaded the wrong build, but then this comes up:
Код:
[12:44:45] Server Plugins
[12:44:45] --------------
[12:44:45] Loading plugin: mysql.so
[12:44:45] Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
Although I have the file "libmysqlclient_r.so.15" in my server folder.
E:// Downloaded https://sampforum.blast.hk/showthread.php?tid=56564 -- from here, R5 CentOS, like in my homehost.
|
You need to place that lib file in your /usr directory, if you can't ,then contact your host.
Re: Loading mysql plugin.. NEED HELP QUICKLY! -
Dan. - 06.08.2012
In my homehost, I had the .dll file in my server folder, but I guess it's diffrent with CentOS. I contacted my host, yes I didn't find /usr directory.
Re: Loading mysql plugin.. NEED HELP QUICKLY! -
VOXrr - 07.08.2012
Quote:
Originally Posted by Dan.
So got a new host, they are using CentOS but my MySQL plugin is not loading, this is the code:
Код:
Loading plugin: libmysqlclient.so.15
[12:37:43] Plugin does not conform to architecture.
[12:37:43] Failed.
|
Are you running on 32bit or 64bit?
Make sure you have the correct plugin for your CPU architecture.
Self explanatory error, I think.