[Tutorial]How to remove MariaDB and replace with MySQL on CyberPanel

Disclaimer: the CyberPanel was designated to work on MariaDB , although MySQL and MariaDB are compatible in almost every aspect , I have personally tested on Centos 7.4 with CyberPanel 1.6 , alone with a demo wordpress site, but this is NOT guaranteed risk-free.

A proper backup is always recommended and needed.

mysql 5.6 was installed in this tutorial , but 5.5 and 5.7 should work , you just have to manually edit version number in mysql repo

alright , there is a little problem , vanilla will convert anything comes with ' within.

for command on step 1 , 12 and 13, please grab them here if you are not clear about them.