{"id":10049,"date":"2025-04-03T16:12:27","date_gmt":"2025-04-03T16:12:27","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=10049"},"modified":"2025-04-03T16:12:44","modified_gmt":"2025-04-03T16:12:44","slug":"how-to-install-mariadb-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/","title":{"rendered":"How To Install MariaDB On Ubuntu"},"content":{"rendered":"\n<p>MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure, and compatible with most MySQL tools. In this guide, we will walk you through How To Install MariaDB On Ubuntu step by step.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-medium\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"245\" data-attachment-id=\"10052\" data-permalink=\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/mariadb-logo-vert_blue-transparent\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?fit=1293%2C1054&amp;ssl=1\" data-orig-size=\"1293,1054\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"mariadb-logo-vert_blue-transparent\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?fit=300%2C245&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?fit=800%2C652&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?resize=300%2C245&#038;ssl=1\" alt=\"\" class=\"wp-image-10052\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?resize=300%2C245&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?resize=1024%2C835&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?resize=768%2C626&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/mariadb-logo-vert_blue-transparent.png?w=1293&amp;ssl=1 1293w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Steps To Install MariaDB On Ubuntu<\/h2>\n\n\n\n<p><strong>1. Update Your System<\/strong><\/p>\n\n\n\n<p>Before installing MariaDB, make sure your system packages are up to date:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt update &amp;&amp; sudo apt upgrade -y\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"478\" data-attachment-id=\"10050\" data-permalink=\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/screenshot_1-8\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?fit=1274%2C761&amp;ssl=1\" data-orig-size=\"1274,761\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot_1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?fit=300%2C179&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?fit=800%2C478&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?resize=800%2C478&#038;ssl=1\" alt=\"\" class=\"wp-image-10050\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?resize=1024%2C612&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?resize=768%2C459&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/Screenshot_1.png?w=1274&amp;ssl=1 1274w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Updating the system ensures that you have the latest package versions and security patches.<\/p>\n\n\n\n<p><strong>2. Install MariaDB<\/strong><\/p>\n\n\n\n<p>MariaDB is available from the official Ubuntu repositories, making the installation process straightforward.<\/p>\n\n\n\n<p><strong>Step 1: Install MariaDB Server<\/strong><\/p>\n\n\n\n<p>To install MariaDB, run the following command:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt install mariadb-server mariadb-client -y\n<\/pre><\/div>\n\n\n<p><strong>Step 2: Verify Installation<\/strong><\/p>\n\n\n\n<p>After the installation completes, check the MariaDB version to ensure it was installed correctly:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmariadb --version\n<\/pre><\/div>\n\n\n<p>You should see an output similar to:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmariadb  Ver 15.1 Distrib 10.6.7-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2\n<\/pre><\/div>\n\n\n<p><strong>3. Start and Enable MariaDB Service<\/strong><\/p>\n\n\n\n<p>MariaDB should start automatically after installation. To verify its status, use:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl status mariadb\n<\/pre><\/div>\n\n\n<p>If it\u2019s not running, start the service manually:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl start mariadb\n<\/pre><\/div>\n\n\n<p>To ensure MariaDB starts on boot, enable it with:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl enable mariadb\n<\/pre><\/div>\n\n\n<p><strong>4. Secure MariaDB Installation<\/strong><\/p>\n\n\n\n<p>MariaDB comes with a built-in security script that helps you remove insecure defaults:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo mysql_secure_installation\n<\/pre><\/div>\n\n\n<p>Follow the prompts:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set a <strong>root password<\/strong>.<\/li>\n\n\n\n<li>Remove <strong>anonymous users<\/strong>.<\/li>\n\n\n\n<li>Disallow <strong>root login remotely<\/strong>.<\/li>\n\n\n\n<li>Remove <strong>test databases<\/strong>.<\/li>\n\n\n\n<li>Reload <strong>privilege tables<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>Testing Root Access<\/strong><\/p>\n\n\n\n<p>After securing the installation, log in to the MariaDB shell to test root access:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo mariadb -u root -p\n<\/pre><\/div>\n\n\n<p>Enter your root password when prompted. You should see the MariaDB command prompt:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nWelcome to the MariaDB monitor. Commands end with ; or \\g.\nMariaDB &#x5B;(none)]&gt; \n<\/pre><\/div>\n\n\n<p>MariaDB is a robust, flexible, and highly compatible database solution that can easily replace MySQL in most applications. By following this guide, you have successfully installed and configured MariaDB on Ubuntu, secured the installation, and tested basic database operations.<\/p>\n\n\n\n<p>Follow us for the more helpful posts!<\/p>\n\n\n\n<p>We hope this is a useful post for you.<\/p>\n\n\n\n<p>You can read more useful posts like\u00a0<strong><a href=\"https:\/\/www.magetop.com\/blog\/how-to-configure-php-fpm-with-nginx\/\">How To Configure PHP-FPM With Nginx<\/a><\/strong>.<\/p>\n\n\n\n<p>Thank you for reading!<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure,<\/p>\n","protected":false},"author":106,"featured_media":10053,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[2276,2275,2274,2273],"class_list":["post-10049","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-tutorials","tag-how-to-install-mariadb-on-ubuntu","tag-install-mariadb","tag-install-mariadb-on-ubuntu","tag-mariadb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Install MariaDB On Ubuntu - Magetop Blog<\/title>\n<meta name=\"description\" content=\"MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install MariaDB On Ubuntu - Magetop Blog\" \/>\n<meta property=\"og:description\" content=\"MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Magetop Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagetopStore\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-03T16:12:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T16:12:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1355\" \/>\n\t<meta property=\"og:image:height\" content=\"753\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aaron LX\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:site\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aaron LX\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/\"},\"author\":{\"name\":\"Aaron LX\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\"},\"headline\":\"How To Install MariaDB On Ubuntu\",\"datePublished\":\"2025-04-03T16:12:27+00:00\",\"dateModified\":\"2025-04-03T16:12:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/\"},\"wordCount\":306,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1\",\"keywords\":[\"How To Install MariaDB On Ubuntu\",\"Install MariaDB\",\"Install MariaDB On Ubuntu\",\"MariaDB\"],\"articleSection\":[\"Magento 2 Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/\",\"name\":\"How To Install MariaDB On Ubuntu - Magetop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1\",\"datePublished\":\"2025-04-03T16:12:27+00:00\",\"dateModified\":\"2025-04-03T16:12:44+00:00\",\"description\":\"MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure...\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1\",\"width\":1355,\"height\":753},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install MariaDB On Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"name\":\"Magetop Blog\",\"description\":\"Exploring Magento Tips, Tricks, and Trends\",\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.magetop.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\",\"name\":\"Magetop.com\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"width\":475,\"height\":475,\"caption\":\"Magetop.com\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/MagetopStore\",\"https:\/\/x.com\/MagetopStore\",\"https:\/\/www.linkedin.com\/company\/magetop\",\"https:\/\/www.pinterest.com\/magetop\",\"https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\",\"name\":\"Aaron LX\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"caption\":\"Aaron LX\"},\"description\":\"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.\",\"url\":\"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install MariaDB On Ubuntu - Magetop Blog","description":"MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure...","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:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How To Install MariaDB On Ubuntu - Magetop Blog","og_description":"MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure...","og_url":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2025-04-03T16:12:27+00:00","article_modified_time":"2025-04-03T16:12:44+00:00","og_image":[{"width":1355,"height":753,"url":"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png","type":"image\/png"}],"author":"Aaron LX","twitter_card":"summary_large_image","twitter_creator":"@MagetopStore","twitter_site":"@MagetopStore","twitter_misc":{"Written by":"Aaron LX","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/"},"author":{"name":"Aaron LX","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7"},"headline":"How To Install MariaDB On Ubuntu","datePublished":"2025-04-03T16:12:27+00:00","dateModified":"2025-04-03T16:12:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/"},"wordCount":306,"commentCount":0,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1","keywords":["How To Install MariaDB On Ubuntu","Install MariaDB","Install MariaDB On Ubuntu","MariaDB"],"articleSection":["Magento 2 Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/","url":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/","name":"How To Install MariaDB On Ubuntu - Magetop Blog","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1","datePublished":"2025-04-03T16:12:27+00:00","dateModified":"2025-04-03T16:12:44+00:00","description":"MariaDB is a popular, open-source relational database management system that is a fork of MySQL. It is highly performant, secure...","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1","width":1355,"height":753},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/how-to-install-mariadb-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Install MariaDB On Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/www.magetop.com\/blog\/#website","url":"https:\/\/www.magetop.com\/blog\/","name":"Magetop Blog","description":"Exploring Magento Tips, Tricks, and Trends","publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.magetop.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.magetop.com\/blog\/#organization","name":"Magetop.com","url":"https:\/\/www.magetop.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","width":475,"height":475,"caption":"Magetop.com"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MagetopStore","https:\/\/x.com\/MagetopStore","https:\/\/www.linkedin.com\/company\/magetop","https:\/\/www.pinterest.com\/magetop","https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA"]},{"@type":"Person","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7","name":"Aaron LX","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","caption":"Aaron LX"},"description":"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.","url":"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/04\/How-To-Install-MariaDB-On-Ubuntu.png?fit=1355%2C753&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-2C5","jetpack-related-posts":[{"id":5605,"url":"https:\/\/www.magetop.com\/blog\/import-and-export-database-in-mysql-or-mariadb\/","url_meta":{"origin":10049,"position":0},"title":"How To Import And Export Database In MySQL Or MariaDB","author":"Aaron LX","date":"June 24, 2021","format":false,"excerpt":"In this post, I will guide you on\u00a0How To Import And Export Database In MySQL Or MariaDB. Use data dumps to back up and restore your information.","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Import And Export Database In MySQL Or MariaDB","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Import-And-Export-Database-In-MySQL-Or-MariaDB.png?fit=1200%2C711&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Import-And-Export-Database-In-MySQL-Or-MariaDB.png?fit=1200%2C711&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Import-And-Export-Database-In-MySQL-Or-MariaDB.png?fit=1200%2C711&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Import-And-Export-Database-In-MySQL-Or-MariaDB.png?fit=1200%2C711&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/How-To-Import-And-Export-Database-In-MySQL-Or-MariaDB.png?fit=1200%2C711&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":9819,"url":"https:\/\/www.magetop.com\/blog\/how-to-install-phpmyadmin-on-ubuntu\/","url_meta":{"origin":10049,"position":1},"title":"How To Install phpMyAdmin On Ubuntu","author":"Aaron LX","date":"February 11, 2025","format":false,"excerpt":"phpMyAdmin is a free, open-source tool used to manage MySQL and MariaDB databases through a web-based interface. Written in PHP, it allows users to perform a wide range of database operations, including creating, modifying, and deleting databases, tables, and records. Please follow the post\u00a0How To Install phpMyAdmin On Ubuntu to\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install phpMyAdmin On Ubuntu","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3438,"url":"https:\/\/www.magetop.com\/blog\/magento-2-4-system-requirements\/","url_meta":{"origin":10049,"position":2},"title":"Magento 2.4 System Requirements","author":"Adam Roger","date":"November 26, 2020","format":false,"excerpt":"At the end of July, the latest Magento version was released with many improved features and bug fixes. It promises to be the optimal version for your Magento store. Magento encourages users to upgrade to the new version to benefit from the improved features. To upgrade or install this version,\u2026","rel":"","context":"In &quot;Magento 2 Knowledge Base&quot;","block_context":{"text":"Magento 2 Knowledge Base","link":"https:\/\/www.magetop.com\/blog\/magento-2-knowledge-base\/"},"img":{"alt_text":"Magento 2.4 System Requirements","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Magento-2.4-System-Requirements.jpg?fit=728%2C410&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Magento-2.4-System-Requirements.jpg?fit=728%2C410&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Magento-2.4-System-Requirements.jpg?fit=728%2C410&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Magento-2.4-System-Requirements.jpg?fit=728%2C410&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":10198,"url":"https:\/\/www.magetop.com\/blog\/how-to-install-docker-on-ubuntu\/","url_meta":{"origin":10049,"position":3},"title":"How To Install Docker On Ubuntu","author":"Aaron LX","date":"May 10, 2025","format":false,"excerpt":"Docker is an essential tool for modern development, and installing it on Ubuntu is quick and straightforward. In this guide, you'll learn how to install Docker on Ubuntu step-by-step and run your first container in minutes. Steps To Install Docker On Ubuntu Step 1: Update Your Package Index Before installing\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Docker On Ubuntu","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Docker-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Docker-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Docker-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Docker-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Docker-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":10777,"url":"https:\/\/www.magetop.com\/blog\/how-to-install-new-relic-apm-on-ubuntu\/","url_meta":{"origin":10049,"position":4},"title":"How To Install New Relic APM On Ubuntu","author":"Aaron LX","date":"October 16, 2025","format":false,"excerpt":"New Relic APM on Ubuntu helps Magento 2 developers and store owners monitor performance, track slow transactions, and optimize PHP applications in real time. In this guide, you\u2019ll learn how to install New Relic APM on Ubuntu using the official package repository for a clean and reliable setup. Steps To\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install New Relic APM On Ubuntu","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/How-To-Install-New-Relic-APM-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/How-To-Install-New-Relic-APM-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/How-To-Install-New-Relic-APM-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/How-To-Install-New-Relic-APM-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/How-To-Install-New-Relic-APM-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":9872,"url":"https:\/\/www.magetop.com\/blog\/how-to-install-multiple-php-versions-on-ubuntu\/","url_meta":{"origin":10049,"position":5},"title":"How To Install Multiple PHP Versions On Ubuntu","author":"Aaron LX","date":"February 20, 2025","format":false,"excerpt":"Managing multiple PHP versions on Ubuntu is essential for developers working with different applications requiring specific PHP versions. By setting up multiple PHP versions, you can easily switch between them without conflicts. This guide will show you How To Install Multiple PHP Versions On Ubuntu. Steps To Install Multiple PHP\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Multiple PHP Versions On Ubuntu","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-Multiple-PHP-Versions-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-Multiple-PHP-Versions-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-Multiple-PHP-Versions-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-Multiple-PHP-Versions-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-Multiple-PHP-Versions-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/10049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/users\/106"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/comments?post=10049"}],"version-history":[{"count":2,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/10049\/revisions"}],"predecessor-version":[{"id":10054,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/10049\/revisions\/10054"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/10053"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=10049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=10049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=10049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}