---
title: Upgrading MySQL to MariaDB on a cPanel/whm server
description: "#### Upgrading MySQL to MariaDB on a cPanel/whm server ** ما هي MySQL ؟** **[MySQL](https://ar.wikipedia.org/wiki/%D9%85%D8%A7%D9%8A_%D8%A5%D8%B3_%D9%83%D9%8A%D9%88_%D8%A5%D9%84)** (sometimes pronounced MySQL) is a relational database management system based on SQL.It is named after the daughter of its original programmer, Michael Widenius, whose name is…"
url: "https://www.hyyat.com/en/knowledgebase/upgrading-mysql-to-mariadb-on-a-cpanel-whm-server/"
updated: "2026-10-21"
category: Server management / whm/cpanel control panels
tags:
  - MariaDB
---

# Upgrading MySQL to MariaDB on a cPanel/whm server

#### Upgrading MySQL to MariaDB on a cPanel/whm server

** ما هي MySQL ؟**

**[MySQL](https://ar.wikipedia.org/wiki/%D9%85%D8%A7%D9%8A_%D8%A5%D8%B3_%D9%83%D9%8A%D9%88_%D8%A5%D9%84)** (sometimes pronounced MySQL) is a relational database management system based on SQL.It is named after the daughter of its original programmer, Michael Widenius, whose name is My. MySQL is an open source product that publishes its source code under the GNU General Public License as well as some proprietary agreements. It was owned and sponsored by the Swedish for-profit MySQL AB, but is now owned by Sun Microsystems (which is currently a subsidiary of Oracle).

**Important: Take a full backup of your database and a copy of var/lib/mysql/ before taking a backup.**

**Make sure to stop mysql before taking a backup of var/lib/mysql/**

We highly recommend upgrading it to MariaDB 10.2 MariaDB 10.1 or MariaDB 10.0 MariaDB 10.2 is the latest version so here we are upgrading MySQL to MariaDB on the cPanel server.

If you already have a database on the server take a copy of var/lib/mysql/ you can use this using below commands.

```
cp -rvf /var/lib/mysql /var/lib/mysql_backup
```

and

```
mysqldump --all-databases > all-databases.sql
```

### Upgrading MySQL to MariaDB on a cPanel/whm server

#### 1- We log in to the server control panel as in the previous lessons

#### 2- We refer to "SQL Services"

  [![Upgrading MySQL to MariaDB on a cPanel/whm server - screenshot 1](https://www.hyyat.com/wp-content/uploads/2019/03/MySQLMariaDB-Upgrades.png)](https://www.hyyat.com/en/)

#### 3- Then to "MySQL/MariaDB Upgrade"

  [![Upgrading MySQL to MariaDB on a cPanel/whm server - screenshot 2](https://www.hyyat.com/wp-content/uploads/2019/03/MySQLMariaDB-Upgrades1.png)](https://www.hyyat.com/en/)

#### 4- We choose "MariaDB 10.3" which is the latest recommended version

  [![ترقية MySQL إلى MariaDB على خادم cPanel/whm](https://www.hyyat.com/wp-content/uploads/2019/03/MySQLMariaDB-Upgrades3.png)](https://www.hyyat.com/en/)

#### 5- Wait for the "Upgrade Warnings" page to finish downloading.

[![ترقية MySQL إلى MariaDB على خادم cPanel/whm](https://www.hyyat.com/wp-content/uploads/2019/03/MySQLMariaDB-Upgrades4.png)](https://www.hyyat.com/en/)

① Read and acknowledge each warning message by enabling each check box.

② Click the "**Continue**" button.

#### 6- Wait for the "Upgrade Type" page to finish downloading.

[![ترقية MySQL إلى MariaDB على خادم cPanel/whm](https://www.hyyat.com/wp-content/uploads/2019/03/MySQLMariaDB-Upgrades5.png)](https://www.hyyat.com/en/)

①Select "**Unattended Upgrade**" for a seamless upgrade experience.

②Click the "**Continue**" button.

#### 7- Wait for the upgrade process to complete.

#### Greetings from the [Hyyat Host](https://www.hyyat.com/en/) team

**Related service:** [server management](https://www.hyyat.com/%d8%a5%d8%af%d8%a7%d8%b1%d8%a9-%d8%a7%d9%84%d8%b3%d9%8a%d8%b1%d9%81%d8%b1%d8%a7%d8%aa/) from Hyyat Host, with technical support that replies within 24 hours.

 **Related guides**

- [Fix cPanel Error “IP Address Has Changed”](https://www.hyyat.com/knowledgebase/%d8%a5%d8%b5%d9%84%d8%a7%d8%ad-%d8%ae%d8%b7%d8%a3-cpanel-%d8%aa%d9%85-%d8%aa%d8%ba%d9%8a%d9%8a%d8%b1-%d8%b9%d9%86%d9%88%d8%a7%d9%86-ip/)

  **Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[Server Management](https://www.hyyat.com/en/server-management/)[dedicated server](https://www.hyyat.com/en/dedicated-server/)
