centos2ol icon indicating copy to clipboard operation
centos2ol copied to clipboard

Convert CentOS to Oracle Linux -Mysql instance

Open devindya18 opened this issue 3 years ago • 6 comments

Hello,

I have a Mysql-community instance on a server currently CentOS 8 and I want to convert it to Oracle Linux 8. Do I need to remove the repositories of mysql-community?

Thank you in advance for your reply.

Best regards, Devin

devindya18 avatar Dec 09 '21 18:12 devindya18

If it's MySQL 8.0, I recommend disabling the repo, migrating to Oracle Linux 8 and then installing the mysql-release-el8 RPM to enable the MySQL 8.0 repo from yum.oracle.com.

If it's a different version, then it should be fine. Backup first, though!

Djelibeybi avatar Dec 09 '21 18:12 Djelibeybi

Thank you for your reply Djelibeybi .

devindya18 avatar Dec 23 '21 16:12 devindya18

I use proxysql as load balancer. However after running the centOS2OL script I lose all the data in proxysql. How can I recover the data ? Thank you in advance for your reply.

devindya18 avatar Jan 04 '22 01:01 devindya18

Unfortunately, I'm not familiar with ProxySQL so the best advice would be to restore that data from the backup you made before you migrated to Oracle Linux.

Djelibeybi avatar Jan 04 '22 01:01 Djelibeybi

Proxysql uses sqlite database.Does the CentOS2OL script change something for SQLlite? I have to document the root cause

devindya18 avatar Jan 04 '22 20:01 devindya18

You would have to review all the packages that were updated between the CentOS system and Oracle Linux. The SQLite library and binaries may have been updated during that process, as they are part of the OS. We do mention that custom things like this should be backed up and restored after migration.

Djelibeybi avatar Jan 05 '22 02:01 Djelibeybi