Upgrade MySQL to MariaDB on a cPanel server

It is recommended to keep server software updated to latest version.  Default cPanel comes with MySQL 5.6 and it will become end of life on February 28, 2018 so i highly recommend to upgrade it to MariaDB 10.2,  MariaDB 10.1 or MariaDB 10.0.  MariaDB 10.2 is the latest version so here we are going to…