pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
196 stars 80 forks source link

Unable to run or compile the plugin using Centos7 and the latest MariaDB release #208

Open SimonOre opened 5 years ago

SimonOre commented 5 years ago

I've trying to use the plugin with MariaDB latest release but it looks like this plugin is only compatible with old mysql versions like 5.x. Last time I had to downgrade to mysql default installations in Centos7 in order to run the plugin. (I used to use an older version of this MySQL SAMP R39-3 plugin and I had no problems with MariaDB)

So I'd like to use the latest release but I am unable tu run anything: This is the MariaDB I am using: https://downloads.mariadb.org/mariadb/repositories/#mirror=iweb&distro=CentOS&distro_release=centos7-amd64--centos7&version=10.3 (There is no 32 bit version)

If I just use the release binaries from this plugin for Centos 7 I got this: https://github.com/pBlueG/SA-MP-MySQL/issues/130 And to solve the error I had to downgrade.

I decided to try compile the plugin but again I can't download or install the MariaDB C connector.

yum install mariadb-libs.i686 got: Package mariadb-libs-5.5.60-1.e17_5.i686 is obsoleted by MariaDB-compat-10.3.13-1.e17.centos.x86_64 which is already installed yum install mariadb.devel.i686 got: Package mariadb-devel-5.5.60-1.e17_5.i686 is obsoleted by MariaDB-devel-10.3.13.1.e17.centos,x86_64 which is already installed. yum install mariadb-devel

I am new to compile from source a lot of libraries and if continue compiling it will take forever. I read I had to install Open-SSL in order to compile the C Connector I tried but then again it only shows the x64 version, So then I need to search and compile the 686(?) Open-SSL version and so on. And still I don't know if this will work or this plugin is just incompatible with MariaDB (https://github.com/pBlueG/SA-MP-MySQL/issues/109), some advice would be helpful.