{"id":13650,"date":"2024-08-01T13:28:25","date_gmt":"2024-08-01T13:28:25","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=13650"},"modified":"2024-08-27T10:31:42","modified_gmt":"2024-08-27T10:31:42","password":"","slug":"how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04","status":"publish","type":"docs","link":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/","title":{"rendered":"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>In this guide, we shall indicate two methods of upgrading a database <\/p>\n\n\n\n<p><strong>Method 1:<\/strong> <strong>Automated upgrade script<\/strong>. The script will handle everything for you including backups.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Using the convenience script.<\/p>\n\n\n\n<p><code>wget -qO- https:\/\/raw.githubusercontent.com\/dannydev77\/database_upgrade_utility_script\/main\/database_upgrade.sh | bash<\/code><\/p>\n\n\n\n<p><br><strong>Method 2: Manual<\/strong> &#8211; This section provide step by step actions. <\/p>\n\n\n\n<p>Before you begin the upgrade ensure to take a backup of your data in case something goes wrong.<\/p>\n\n\n\n<p>Steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Confirm Your current mariadb installation version by typing <\/li>\n<\/ol>\n\n\n\n<p><br><code>mariadb --version<\/code><br>Output:<\/p>\n\n\n\n<p><br><code>mariadb Ver 15.1 Distrib 10.3.39-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"764\" height=\"87\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1.png\" alt=\"\" class=\"wp-image-13664\" style=\"width:674px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1.png 764w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1-300x34.png 300w\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Backup.<br>Take a full database backup using either of the commands below.<\/li>\n<\/ol>\n\n\n\n<p>Command one:<\/p>\n\n\n\n<p>Create a directory to store the backups.<\/p>\n\n\n\n<p><br>For my case<br><code>mkdir -p \/home\/dbs\/databases<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Backup using command below<\/p>\n\n\n\n<p> <code>mysql -N -e 'show databases' | while read dbname; do mysqldump --complete-insert --routines --triggers --single-transaction \"$dbname\" &gt; \/home\/dbs\/databases\/\"$dbname\".sql; done<\/code><br>or<br>Command two:<br><code>mysqldump --events --all-databases | gzip &gt; \/home\/alldatabases.sql.gz<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"133\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-3-1024x133.png\" alt=\"\" class=\"wp-image-13662\" style=\"width:663px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-3-1024x133.png 1024w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-3-300x39.png 300w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-3-768x100.png 768w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-3.png 1365w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Get your mariadb root password : Will be needed for Later Step.<br><code>cat \/etc\/cyberpanel\/mysqlPassword<\/code>    <\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"565\" height=\"128\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-4.png\" alt=\"\" class=\"wp-image-13661\" style=\"width:455px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-4.png 565w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-4-300x68.png 300w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>4. Configure mariadb for proper shutdown by running command below within mariadb cli<\/p>\n\n\n\n<p><code>SET GLOBAL innodb_fast_shutdown = 1;<\/code><br><code>XA RECOVER;<\/code><br><code>exit;<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"311\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-5.png\" alt=\"\" class=\"wp-image-13660\" style=\"width:654px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-5.png 711w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-5-300x131.png 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>Stop the database server and Remove MariaDB<br><\/li>\n<\/ol>\n\n\n\n<p><code>systemctl stop mariadb<\/code><\/p>\n\n\n\n<p>confirm it is stopped with<\/p>\n\n\n\n<p><code>systemctl status mariadb<\/code><\/p>\n\n\n\n<p>The output is convoluted, but look for following lines<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Active: inactive (dead) since Thu 2024-08-01 12:45:15 CEST; 11s ago<br>Status: &#8220;MariaDB server is down&#8221;<\/mark><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"366\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-6.png\" alt=\"\" class=\"wp-image-13659\" style=\"width:670px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-6.png 802w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-6-300x137.png 300w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-6-768x350.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p>To confirm which packages will be removed, run<\/p>\n\n\n\n<p><code>apt list --installed | grep -i -E \"mariadb|galera\"<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"256\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-7-1024x256.png\" alt=\"\" class=\"wp-image-13658\" style=\"width:671px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-7-1024x256.png 1024w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-7-300x75.png 300w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-7-768x192.png 768w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-7.png 1062w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To remove run,<\/p>\n\n\n\n<p><code>apt remove \"<em>*mariadb<\/em>*\" \"galera*\" -y<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"274\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-8.png\" alt=\"\" class=\"wp-image-13657\" style=\"width:672px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-8.png 731w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-8-300x112.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/figure>\n\n\n\n<p>To confirm all those packages were removed<\/p>\n\n\n\n<p><code>apt list --installed | grep -i -E \"mariadb|galera\"<\/code><\/p>\n\n\n\n<p>Output should be empty. <\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\">\n<li>Install New Version of MariaDB<br>run the following command, changing 10.6 for whichever version you would like to install. 10.11 is the latest LTS version.<\/li>\n<\/ol>\n\n\n\n<p><code>curl -LsS https:\/\/r.mariadb.com\/downloads\/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=\"mariadb-10.6\"<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"192\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-9-1024x192.png\" alt=\"\" class=\"wp-image-13656\" style=\"width:689px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-9-1024x192.png 1024w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-9-300x56.png 300w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-9-768x144.png 768w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-9.png 1083w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br>Update the system<\/p>\n\n\n\n<p><code>apt update -y <\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>You should see an Output similar to the one below showing a repository for your new database has been added and updated.<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Get:6 https:\/\/dlm.mariadb.com\/repo\/mariadb-server\/10.6\/repo\/ubuntu focal InRelease [7,767 B]<\/mark><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"254\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-10.png\" alt=\"\" class=\"wp-image-13655\" style=\"width:697px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-10.png 794w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-10-300x96.png 300w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-10-768x246.png 768w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/><\/figure>\n\n\n\n<p>Install mariadb<\/p>\n\n\n\n<p><code>apt install mariadb-server libmariadb-dev -y<\/code><\/p>\n\n\n\n<p>when prompted with this, enter N<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Configuration file &#8216;\/etc\/mysql\/mariadb.conf.d\/50-server.cnf&#8217;<br>==&gt; Modified (by you or by a script) since installation.<br>==&gt; Package distributor has shipped an updated version.<br>What would you like to do about it ? Your options are:<br>Y or I : install the package maintainer&#8217;s version<br>N or O : keep your currently-installed version<br>D : show the differences between the versions<br>Z : start a shell to examine the situation<br>The default action is to keep your current version.<br>*** 50-server.cnf (Y\/I\/N\/O\/D\/Z) [default=N] ?<\/mark><\/p>\n\n\n\n<p>run apt update &amp;&amp; apt upgrade -y to update all packages again <\/p>\n\n\n\n<p><code>apt update &amp;&amp; apt upgrade -y<\/code><\/p>\n\n\n\n<p>run apt list &#8211;installed | grep -i -E &#8220;mariadb|galera&#8221; to confirm which packages were installed<\/p>\n\n\n\n<p><code>apt list --installed | grep -i -E \"mariadb|galera\"<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"439\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-12.png\" alt=\"\" class=\"wp-image-13653\" style=\"width:708px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-12.png 790w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-12-300x167.png 300w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-12-768x427.png 768w\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>enable the mariadb service<\/p>\n\n\n\n<p><code>systemctl enable mariadb<\/code><\/p>\n\n\n\n<p>Start the database server<\/p>\n\n\n\n<p><code>systemctl start mariadb.service<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\">\n<li>Complete the upgrade.<br>Run the mariadb-upgrade script utility <a href=\"https:\/\/dev.mysql.com\/doc\/refman\/8.0\/en\/mysql-upgrade.html\">Learn more here<\/a><\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><code>mariadb-upgrade -u root -p --force<\/code><br>Enter the root password earlier copied.<\/p>\n\n\n\n<p><br>You should see an output like below.<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">root@srv:~# mysql_upgrade -u root -p &#8211;force <br>Enter password:<\/mark><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Major version upgrade detected from 10.3.39-MariaDB to 10.6.18-MariaDB. Check required!<br>Phase 1\/8: Checking and upgrading mysql database<\/mark><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Processing databases<br>mysql<br>mysql.column_stats OK<br>mysql.columns_priv OK<br>mysql.db OK<br>mysql.event OK<\/mark><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"242\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-13.png\" alt=\"\" class=\"wp-image-13652\" style=\"width:687px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-13.png 790w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-13-300x92.png 300w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-13-768x235.png 768w\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>Confirm by typing<br><code>systemctl status mariadb<\/code><\/p>\n\n\n\n<p>If you still see some errors such as &#8220;Access denied for &#8216;root&#8217;@&#8217;localhost&#8217;, run the force upgrade command.<\/p>\n\n\n\n<p><code>mariadb-upgrade --force<\/code><\/p>\n\n\n\n<p>All checks must be OK with NO ERRORS!!!<\/p>\n\n\n\n<p>Database upgrade completed successfully.<br>Database upgraded from version 10.3 to 10.6<\/p>\n\n\n\n<p>Confirm you can now access the database by typing <code>mysql<\/code> or <code>mariadb<\/code> command.<\/p>\n\n\n\n<p>You can confirm the installed version by either of the commands below.<\/p>\n\n\n\n<p><code>SHOW GLOBAL VARIABLES LIKE 'version';<\/code><\/p>\n\n\n\n<p><code>SELECT VERSION();<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"364\" src=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-15.png\" alt=\"\" class=\"wp-image-13670\" style=\"width:693px;height:auto\" srcset=\"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-15.png 713w, https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-15-300x153.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/figure>\n\n\n\n<p>Done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we shall indicate two methods of upgrading a database Method 1: Automated upgrade script. The script will handle everything for you including backups. Using the convenience script. wget -qO- https:\/\/raw.githubusercontent.com\/dannydev77\/database_upgrade_utility_script\/main\/database_upgrade.sh | bash Method 2: Manual &#8211; This section provide step by step actions. Before you begin the upgrade ensure to take a [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[2121],"doc_tag":[],"class_list":["post-13650","docs","type-docs","status-publish","hentry","doc_category-cyberpanel"],"year_month":"2026-06","word_count":647,"total_views":"0","reactions":{"happy":"2","normal":"0","sad":"0"},"author_info":{"name":"Kibera","author_nicename":"dan-k","author_url":"https:\/\/www.truehost.com\/support\/author\/dan-k\/"},"doc_category_info":[{"term_name":"Cyberpanel","term_url":"https:\/\/www.truehost.com\/support\/docs-category\/cyberpanel\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04 -<\/title>\n<meta name=\"description\" content=\"Complete guide on How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04. Ensure to perform backups.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04 -\" \/>\n<meta property=\"og:description\" content=\"Complete guide on How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04. Ensure to perform backups.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-27T10:31:42+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/\",\"name\":\"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04 -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Mariadb-upgrade-1.png\",\"datePublished\":\"2024-08-01T13:28:25+00:00\",\"dateModified\":\"2024-08-27T10:31:42+00:00\",\"description\":\"Complete guide on How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04. Ensure to perform backups.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"http:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Mariadb-upgrade-1.png\",\"contentUrl\":\"http:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Mariadb-upgrade-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04 -","description":"Complete guide on How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04. Ensure to perform backups.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04 -","og_description":"Complete guide on How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04. Ensure to perform backups.","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/","article_modified_time":"2024-08-27T10:31:42+00:00","og_image":[{"url":"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/","name":"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04 -","isPartOf":{"@id":"https:\/\/www.truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1.png","datePublished":"2024-08-01T13:28:25+00:00","dateModified":"2024-08-27T10:31:42+00:00","description":"Complete guide on How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04. Ensure to perform backups.","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/#primaryimage","url":"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1.png","contentUrl":"http:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/Mariadb-upgrade-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-upgrade-mariadb-on-cyberpanel-from-10-3-to-10-6-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to upgrade mariadb on cyberpanel from 10.3 to 10.6 on ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.truehost.com\/support\/#website","url":"https:\/\/www.truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/www.truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/www.truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/www.truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs\/13650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/comments?post=13650"}],"version-history":[{"count":7,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs\/13650\/revisions"}],"predecessor-version":[{"id":13799,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs\/13650\/revisions\/13799"}],"wp:attachment":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/media?parent=13650"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=13650"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=13650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}