MariaDB Removal and MySQL Install

Latest response

Evening,

We are using RHEL 7.0 which comes with MariaDB.. Unfortunately we have support with MySQL so I needed to install that instead. I was getting conflicts with libraries from MariaDB I am assuming.. so I think I attempted to remove MariaDB by doing this

 yum remove mariadb-libs-1:5.5.41-2.el7_0.x86_64

then I proceeded to install the "enterprise" version of MySQL. which seems to have been successful. however I can start it up by running mysqld_safe & and its find.. but when I try to use the startup script init.d/MySQL start I get a Starting MySQL. ERROR! The server quit without updating PID file (/data01/db/uhmc-msql-v1d.pid) so I just wonder if I removed the MariaDB properly so that wouldn't be a source of my issues.. I am very much a Linux newb so I might have easily missed something dumb.

Responses

Your yum invocation would have removed the lib-files (and anything with an explicit dependency on them), but it would likely have left other mysql RPMs in place. You probably need to do something like yum erase mariadb*. Just make sure that you very carefully ensure that said command doesn't try to remove more than you want to remove.

Great, Highly appreciated for the advisory.

That is not the resolution as, net-snmp has a mariadb dependency. If we try installing net-snmp, mariadb-libs gets installed which conflicts with mysql.

Thats the closed loop.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.