HostOnNet Blog

Install MariaDB on Cpanel Server

Looking for Linux Server Admin or WordPress Expert? We can help.

To install MariaDB on Cpanel Server, go to

WHM > Software > MySQL/MariaDB Upgrade

Then select MairaDB, in this case, i selected MariaDB 10, which is somewhat similar to MySQL 5.6.

cpanel-mariadb-1

Select desired version of MySQL/MriaDB. Click Next. On Next page, you get some warning, read it, if you are OK with it, click the check boxes on left side, click continue. It is always better have a copy of all your MySQL databases before doing this. Better copy the MySQL DB folder itself, this way you can recover if anything went wrong. In this case, this is a new server, so i don’t have to worry about MySQL backups.

cpanel-mariadb-2

Next select how you want to do the upgrade. You can choose any of the options, it won’t make much difference.

cpanel-mariadb-3

Now cpanel will start installing MySQL/MariaDB, compile PHP modules, so it work with newer version of MySQL.

cpanel-mariadb-4

After installation, verify MySQL version

root@server46 [~]# mysql --version
mysql  Ver 15.1 Distrib 10.0.22-MariaDB, for Linux (x86_64) using readline 5.1
root@server46 [~]# 

Posted in Cpanel Server

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.