Move from yum maintained mysql to DA maintained

wila

Verified User
Joined
Dec 15, 2017
Messages
18
Hi,

Was just looking at upgrading mysql 5.6 to mysql 5.7 and wondered if I had installed mysql via DirectAdmin on my CentOS 6.10 host.

Unfortunately not.

Code:
# yum list installed | grep -i mysql
MySQL-client.x86_64                5.6.42-1.el6                     installed
MySQL-devel.x86_64                 5.6.42-1.el6                     installed
MySQL-server.x86_64                5.6.42-1.el6                     installed
MySQL-shared.x86_64                5.6.42-1.el6                     installed
How would one migrate from having this maintained by yum to having it installed as DirectAdmin?

Thanks!
--
Wil
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,854
Location
GMT +7.00
Hello Wil,

Directadmin uses RPM packages to install MySQL/MariaDB downloaded from their official developers sites. So you most likely have the packages installed by custombuild.

I have CentOS with MariaDB (alternative to MySQL):

Code:
# rpm -qa | egrep "mariadb|mysql" -i
MariaDB-compat-10.0.38-1.el6.x86_64
MariaDB-devel-10.0.38-1.el6.x86_64
MariaDB-common-10.0.38-1.el6.x86_64
MariaDB-server-10.0.38-1.el6.x86_64
MariaDB-shared-10.0.38-1.el6.x86_64
MariaDB-client-10.0.38-1.el6.x86_64
And I'm pretty sure they are installed by Custombuild.
 

wila

Verified User
Joined
Dec 15, 2017
Messages
18
Alex,

Thanks (again).

Ah.. that explains it.

I did actually notice after asking my question here that the mysql folder under /usr/local/directadmin/custombuild had for 1.2 GB of mysql rpm files.
The last one in there does indeed match what is installed.

So the upgrade to mysql 5.7 should be relatively painless.

After that I can consider going over to mariadb.

Just wanted to get a slightly more up to date version of mysql for now.

--
Wil
 
Top