How to Install MariaDB

In this tutorial we will show you how to install/upgrade MariaDB on your VPS or Dedicated Server. It is recommended that you move from MySQL to MariaDB using the software interface within WHM. This tool allows you to manage updates for your version of MariaDB automatically. As the vendor releases updates or patches for your specific version, WHM will automatically apply the patch to your installation. Using this interface in WHM requires root access.

Installing MariaDB requires root access. Please see our article on how to request root access. Before you start, now is a good time to take a snapshot if you are using an HAVPS account or make a backup on your dedicated server.

  1. Log into WHM as your root user.
  2. Type ‘SQL’ in the search box, then click MySQL / MariaDB Upgrade under the SQL Services menu.
    Accessing MySQL/MariaDB Upgrade in WHM
  3. (Step 1 of 7) Select the version of MariaDB you wish to upgrade to and click Next.
    MariaDB Upgrade in WHM
  4. (Step 2 of 7) Read through any warnings your system may have found. If you are not sure about what those warnings mean, then do not proceed and contact Technical Support to be sure.
    Upgrading MariaDB
  5. (Step 3 of 7) Choose whether your upgrade process should be interactive. This means should you be prompted and required to supply input throughout the upgrade process. Click on Continue to proceed.
    Unattended MariaDB Upgrade in WHM

    If you choose to skip the interactive install then you will be taken to the Step 7 of 7 where you can see the output of the installation process
    MariaDB Upgrade

    Once you are finished you should see the screen display The upgrade process completed successfully as per the image below:
    Upgrade Finished

Congratulations, you have successfully installed MariaDB! Check out our section on Working with Databases for more helpful tutorials.

AC
Arnel Custodio Content Writer I

As a writer for InMotion Hosting, Arnel has always aimed to share helpful information and provide knowledge that will help solve problems and aid in achieving goals. He's also been active with WordPress local community groups and events since 2004.

More Articles by Arnel

Was this article helpful? Join the conversation!