{"id":13759,"date":"2019-03-27T16:44:35","date_gmt":"2019-03-27T13:44:35","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/%d8%aa%d8%b1%d9%82%d9%8a%d8%a9-mysql-%d8%a5%d9%84%d9%89-mariadb-%d8%b9%d9%84%d9%89-%d8%ae%d8%a7%d8%af%d9%85-cpanel-whm\/"},"modified":"2022-05-26T12:48:48","modified_gmt":"2022-05-26T09:48:48","password":"","slug":"upgrading-mysql-to-mariadb-on-a-cpanel-whm-server","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/upgrading-mysql-to-mariadb-on-a-cpanel-whm-server\/","title":{"rendered":"Upgrading MySQL to MariaDB on a cPanel\/whm server"},"content":{"rendered":"<h4><span style=\"color: #ff0000;\">Upgrading MySQL to MariaDB on a cPanel\/whm server<\/span><\/h4>\n<p><span style=\"color: #ff0000;\"><strong>\u00a0\u0645\u0627 \u0647\u064a MySQL \u061f<\/strong><\/span><\/p>\n<p><strong><a href=\"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\" target=\"_blank\" rel=\"noopener\">MySQL<\/a><\/strong> (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).<\/p>\n<p><span style=\"color: #339966;\"><strong>Important: Take a full backup of your database and a copy of var\/lib\/mysql\/ before taking a backup.<\/strong><\/span><\/p>\n<p><span style=\"color: #339966;\"><strong>Make sure to stop mysql before taking a backup of var\/lib\/mysql\/<\/strong><\/span><\/p>\n<p><span class=\"tlid-translation translation\" lang=\"ar\"><span class=\"\" title=\"\">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.<\/span><\/span><\/p>\n<p><span class=\"tlid-translation translation\" lang=\"ar\"><span class=\"\" title=\"\">If you already have a database on the server take a copy of var\/lib\/mysql\/ you can use this using below commands.<\/span><\/span><\/p>\n<pre><strong>cp -rvf \/var\/lib\/mysql \/var\/lib\/mysql_backup\r\n<\/strong><\/pre>\n<p>and<\/p>\n<pre><strong>mysqldump --all-databases &gt; all-databases.sql<\/strong><\/pre>\n<div class=\"text-wrap tlid-copy-target\">\n<h3><span style=\"color: #800000;\">Upgrading MySQL to MariaDB on a cPanel\/whm server<\/span><\/h3>\n<h4><span style=\"color: #ff0000;\">1- We log in to the server control panel as in the previous lessons<\/span><\/h4>\n<h4 class=\"result-shield-container tlid-copy-target result-rtl\" tabindex=\"0\"><span class=\"tlid-translation translation\" lang=\"ar\" style=\"color: #ff0000;\"><span class=\"\" title=\"\">2- We refer to &#8220;SQL Services&#8221;<\/span><\/span><\/h4>\n<div tabindex=\"0\"><\/div>\n<div tabindex=\"0\"><a href=\"https:\/\/www.hyyat.com\/en\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-9947\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades.png\" alt=\"\" width=\"635\" height=\"195\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades.png 915w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades-300x92.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades-768x236.png 768w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/a><\/div>\n<div tabindex=\"0\"><\/div>\n<h4 tabindex=\"0\"><span style=\"color: #ff0000;\">3- Then to &#8220;MySQL\/MariaDB Upgrade&#8221;<\/span><\/h4>\n<div tabindex=\"0\"><\/div>\n<div tabindex=\"0\"><a href=\"https:\/\/www.hyyat.com\/en\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone wp-image-9949\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades1.png\" alt=\"\" width=\"535\" height=\"224\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades1.png 709w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades1-300x126.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades1-360x151.png 360w\" sizes=\"(max-width: 535px) 100vw, 535px\" \/><\/a><\/div>\n<h4 tabindex=\"0\"><span style=\"color: #ff0000;\">4- We choose &#8220;MariaDB 10.3&#8221; which is the latest recommended version<\/span><\/h4>\n<div tabindex=\"0\"><\/div>\n<div tabindex=\"0\"><a href=\"https:\/\/www.hyyat.com\/en\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone wp-image-9950\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades3.png\" alt=\"\u062a\u0631\u0642\u064a\u0629 MySQL \u0625\u0644\u0649 MariaDB \u0639\u0644\u0649 \u062e\u0627\u062f\u0645 cPanel\/whm\" width=\"840\" height=\"467\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades3.png 1620w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades3-300x167.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades3-768x427.png 768w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades3-1024x570.png 1024w\" sizes=\"(max-width: 840px) 100vw, 840px\"><\/a><\/div>\n<h4 tabindex=\"0\"><span class=\"tlid-translation translation\" lang=\"ar\" style=\"color: #ff0000;\"><span class=\"\" title=\"\">5- Wait for the &#8220;Upgrade Warnings&#8221; page to finish downloading.<\/span><\/span><\/h4>\n<p tabindex=\"0\"><a href=\"https:\/\/www.hyyat.com\/en\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9951\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades4.png\" alt=\"\u062a\u0631\u0642\u064a\u0629 MySQL \u0625\u0644\u0649 MariaDB \u0639\u0644\u0649 \u062e\u0627\u062f\u0645 cPanel\/whm\" width=\"753\" height=\"498\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades4.png 1024w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades4-300x199.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades4-768x509.png 768w\" sizes=\"(max-width: 753px) 100vw, 753px\"><\/a><\/p>\n<p tabindex=\"0\"><span class=\"tlid-translation translation\" lang=\"ar\"><span title=\"\">\u2460 Read and acknowledge each warning message by enabling each check box.<br \/>\n<\/span><\/span><\/p>\n<p><span class=\"\" title=\"\">\u2461 Click the &#8220;<strong>Continue<\/strong>&#8221; button.<\/span><\/p>\n<h4 tabindex=\"0\"><span style=\"color: #ff0000;\"><span class=\"tlid-translation translation\" lang=\"ar\"><span class=\"\" title=\"\">6- Wait for the &#8220;Upgrade Type&#8221; page to finish downloading.<\/span><\/span><\/span><\/h4>\n<\/div>\n<p tabindex=\"0\"><a href=\"https:\/\/www.hyyat.com\/en\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9952\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades5.png\" alt=\"\u062a\u0631\u0642\u064a\u0629 MySQL \u0625\u0644\u0649 MariaDB \u0639\u0644\u0649 \u062e\u0627\u062f\u0645 cPanel\/whm\" width=\"784\" height=\"278\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades5.png 1015w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades5-300x106.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/03\/MySQLMariaDB-Upgrades5-768x272.png 768w\" sizes=\"(max-width: 784px) 100vw, 784px\"><\/a><\/p>\n<p tabindex=\"0\">\u2460Select &#8220;<strong>Unattended Upgrade<\/strong>&#8221; for a seamless upgrade experience.<\/p>\n<p tabindex=\"0\"><span class=\"tlid-translation translation\" lang=\"ar\"><span class=\"\" title=\"\">\u2461Click the &#8220;<strong>Continue<\/strong>&#8221; button.<\/span><\/span><\/p>\n<h4 tabindex=\"0\"><span style=\"color: #ff0000;\"><span class=\"tlid-translation translation\" lang=\"ar\"><span class=\"\" title=\"\">7- Wait for the upgrade process to complete.<\/span><\/span><\/span><\/h4>\n<h4 tabindex=\"0\"><span style=\"color: #993366;\">Greetings from the <a href=\"https:\/\/www.hyyat.com\/en\/\" target=\"_blank\" rel=\"noopener\">Hyyat Host<\/a> team<\/span><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading MySQL to MariaDB on a cPanel\/whm server \u00a0\u0645\u0627 \u0647\u064a MySQL \u061f MySQL (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 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","inline_featured_image":false,"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","footnotes":""},"doc_category":[2734],"doc_tag":[2792],"class_list":["post-13759","docs","type-docs","status-publish","hentry","doc_category-whm-cpanel-control-panels","doc_tag-mariadb-en"],"year_month":"2026-05","word_count":290,"total_views":"5345","reactions":{"happy":"1","normal":"0","sad":"0"},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"whm\/cpanel control panels","term_url":"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/"}],"doc_tag_info":[{"term_name":"MariaDB","term_url":"https:\/\/www.hyyat.com\/en\/docs-tag\/mariadb-en\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/13759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=13759"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/13759\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=13759"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=13759"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=13759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}