Installing MariaDB on CentOS

I am trying to install MariaDB on a CentOS system 2.6.32-358.el6.x86-64 which comes with MYsql installed.

As root I have run

yum install MariaDB-server MariaDB-client

After the Resolving Dependencies section it comes up with the error

Error: mysql conflicts with MariaDB-server-5.5.33a-1.x86_64

and exits.

Could you advise how to overcome this problem.

With thanks

Rod Curtin

Answer Answered by Elena Stepanova in this comment.

Hi,

As far as I can see, CentOS comes with MySQL 5.1, so you would most likely have a similar problem upgrading to MySQL 5.5 as well.

You need to remove older MySQL packages first, e.g. to run

sudo yum remove mysql-server mysql

(and whichever else mysql* packages cause the conflict), and then install MariaDB server as you already did.

Don't forget to backup your data before the upgrade, it is always the good practice.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.