how to uninstall mariadb and re-install mysql ? Mysql install turns into mariadb install
Posted
by
Suma
on Server Fault
See other posts from Server Fault
or by Suma
Published on 2013-02-23T15:13:55Z
Indexed on
2013/07/02
17:07 UTC
Read the original article
Hit count: 523
I recently upgraded my centos system via the desktop. mistake!
I had mariadb, phpmyadmin working just fine before - but after the upgrade they stopped.
I frantically googled and tried to follow some tutorials about mariadb * mysql reinstall untill I came to this one:
I executed this command to remove all of mysql:
yum remove mysql-server mysql-libs mysql-devel mysql*
and then tried to reinstall mysql:
as below - it crashes with errors as follows:
*****************************************************************
[root@localhost ~]# yum install mysql-server mysql mysql-devel
*****************************************************************
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.serverspace.co.uk
* extras: centos.serverspace.co.uk
* rpmforge: www.mirrorservice.org
* updates: mirror.rmg.io
Setting up Install Process
Package mysql-server is obsoleted by MariaDB-server, trying to install MariaDB-server-5.5.29-1.i686 instead
Package mysql is obsoleted by MariaDB-server, trying to install MariaDB-server-5.5.29-1.i686 instead
Package mysql-devel is obsoleted by MariaDB-devel, trying to install MariaDB-devel-5.5.29-1.i686 instead
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-devel.i686 0:5.5.29-1 set to be updated
--> Processing Dependency: MariaDB-common for package: MariaDB-devel
---> Package MariaDB-server.i686 0:5.5.29-1 set to be updated
--> Processing Dependency: libssl.so.10 for package: MariaDB-server
--> Processing Dependency: libcrypto.so.10 for package: MariaDB-server
--> Running transaction check
---> Package MariaDB-common.i686 0:5.5.29-1 set to be updated
--> Processing Dependency: MariaDB-compat for package: MariaDB-common
---> Package MariaDB-server.i686 0:5.5.29-1 set to be updated
--> Processing Dependency: libssl.so.10 for package: MariaDB-server
--> Processing Dependency: libcrypto.so.10 for package: MariaDB-server
--> Running transaction check
---> Package MariaDB-compat.i686 0:5.5.29-1 set to be updated
---> Package MariaDB-server.i686 0:5.5.29-1 set to be updated
--> Processing Dependency: libssl.so.10 for package: MariaDB-server
--> Processing Dependency: libcrypto.so.10 for package: MariaDB-server
--> Finished Dependency Resolution
MariaDB-server-5.5.29-1.i686 from mariadb has depsolving problems
--> Missing Dependency: libcrypto.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb)
MariaDB-server-5.5.29-1.i686 from mariadb has depsolving problems
--> Missing Dependency: libssl.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb)
Error: Missing Dependency: libcrypto.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb)
Error: Missing Dependency: libssl.so.10 is needed by package MariaDB-server-5.5.29-1.i686 (mariadb)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@localhost ~]
If I now try to install libssl.10, i get asked to install glibc libraries. 2.17 and 2.7 - other discussions have said to stay clear of the as this will explode my system - I tried download 2.17 and it's huge - took ages to unzip.
Could someone please help me to completelty remove maraidb and install mysql - so that I don't get the above errors and pushed over to mariadb when I run:
yum install mysql-server mysql mysql-devel
There are tons of material on how to install mariadb - but none i found so far that plainly explains how to go backwards to mysql.
© Server Fault or respective owner