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
Could you advise how to overcome this problem.
Answer Answered by Elena Stepanova in this comment.
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.