{"id":2546,"date":"2026-05-30T12:30:00","date_gmt":"2026-05-30T17:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=2546"},"modified":"2026-05-02T17:42:15","modified_gmt":"2026-05-02T22:42:15","slug":"how-to-install-mariadb-on-ubuntu-26-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/","title":{"rendered":"How to install MariaDB on Ubuntu 26.04"},"content":{"rendered":"\n<div id=\"linux-2125428899\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p class=\"wp-block-paragraph\">In this guide, we will walk you through how to install MariaDB on Ubuntu 26.04. MariaDB is a free, open-source relational database management system that serves as a replacement for MySQL, offering better performance, improved flexibility, and enhanced reliability. It comes with advanced features such as Galera Cluster support and a wide range of data types. MariaDB was developed by the original MySQL creators due to concerns following Oracle\u2019s acquisition of MySQL. In the sections below, we will cover how to install, secure, and use the MariaDB database service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The MariaDB installation process is simple and usually takes no more than 10 minutes. Let\u2019s begin!<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\" target=\"_blank\" rel=\"noreferrer noopener\">server running Ubuntu 26.04 OS<\/a><\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1. Update the System<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We assume you are working with a fresh Ubuntu 26.04 OS installation. Before starting the MariaDB installation, it is recommended to update all system packages. You can do this by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt update -y &amp;&amp; apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2. Install MariaDB database<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MariaDB is included in the default Ubuntu 26.04 repositories. To install the MariaDB database server, run the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install mariadb-server -y<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once the installation is complete, start the MariaDB service and enable it to run automatically at system startup with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start mariadb &amp;&amp; systemctl enable mariadb<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To verify that the MariaDB service is running correctly, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status mariadb<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should receive output similar to the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# systemctl status mariadb<br>\u25cf mariadb.service - MariaDB 11.8.6 database server<br>     Loaded: loaded (\/usr\/lib\/systemd\/system\/mariadb.service; enabled; preset: enabled)<br>     Active: active (running) since Wed 2026-04-08 10:15:28 CDT; 16s ago<br> Invocation: dd2259595b9c413bb2ac5777adbd54f3<br>       Docs: man:mariadbd(8)<br>             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/<br>   Main PID: 2271 (mariadbd)<br>     Status: \"Taking your SQL requests now...\"<br>      Tasks: 13 (limit: 26579)<br>     Memory: 93.4M (peak: 98.2M)<br>        CPU: 4.787s<br>     CGroup: \/system.slice\/mariadb.service<br>             \u2514\u25002271 \/usr\/sbin\/mariadbd<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3. Securing the MariaDB Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After installation, it is very important to secure your MariaDB setup to prevent unauthorized access and protect your data. To begin the security configuration, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mariadb-secure-installation<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After running the command, follow the prompts below to complete the security setup:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Enter current password for root (enter for none):<br><br>Switch to unix_socket authentication [Y\/n] <strong>Y<\/strong><br><br>Change the root password? [Y\/n] <strong>Y<\/strong><br>New password: <strong>StrongROOTPasswordHere<\/strong><br>Re-enter new password: <strong>StrongROOTPasswordHere<\/strong><br><br>Remove anonymous users? [Y\/n] <strong>Y<\/strong><br><br>Disallow root login remotely? [Y\/n] <strong>Y<\/strong><br><br>Remove test database and access to it? [Y\/n] <strong>Y<\/strong><br><br>Reload privilege tables now? [Y\/n] <strong>Y<\/strong><br> ... Success!<br><br>Cleaning up...<br><br>All done!  If you've completed all of the above steps, your MariaDB<br>installation should now be secure.<br><br>Thanks for using MariaDB!<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Most Useful MariaDB commands<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Below is a list of some of the most commonly used and important MariaDB commands and SQL statements:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">CREATE DATABASE db_name;                                Create a brand new database.<br><br>DROP DATABASE db_name;                                  Remove a database permanently.<br><br>USE db_name;                                            Switch to a specific database.<br><br>CREATE TABLE table_name ( \u2026 );                          Define and create a new table.<br><br>SHOW DATABASES;                                         Display all available databases.<br><br>SHOW TABLES;                                            Show all tables in the selected database.<br><br>SHOW TABLE STATUS LIKE 'table_name';                    View detailed information about a table (engine, size, etc).<br><br>SHOW COLUMNS FROM table_name;                           List all columns in a table.<br><br>SHOW INDEX FROM table_name;                             Show indexing details for a table.<br><br>DESCRIBE table_name; or SHOW COLUMNS FROM table_name;   Display the structure of a table.<br><br>DESCRIBE table_name;                                    Alternative command to view table structure. <br><br>ALTER TABLE table_name \u2026;                               Change the structure of a table.<br><br>DROP TABLE table_name;                                  Delete a table along with its contents.<br><br>SELECT \u2026 FROM \u2026;                                        Fetch data from one or more tables.<br><br>INSERT INTO table_name (\u2026) VALUES (\u2026);                  Insert new records into a table.<br><br>UPDATE table_name SET \u2026 WHERE \u2026;                        Modify existing records in a table.<br><br>DELETE FROM table_name WHERE \u2026;                         Remove specific records from a table.<br><br>CREATE USER 'user'@'host' IDENTIFIED BY 'password';     Add a new database user. <br><br>GRANT privileges ON db.table TO 'user'@'host';          Provide access rights to a user.<br><br>REVOKE privileges ON db.table FROM 'user'@'host';       Remove assigned permissions from a user.<br><br>FLUSH PRIVILEGES;                                       Apply privilege changes immediately.                              <\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">These are among the most essential MariaDB commands. However, the most important step is logging into the MariaDB console, as you must be logged in to execute any of the commands listed above. Use the following command to log in:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mariadb -u user_name -p<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a brief explanation of the login command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mariadb = client command. <br><br>-u user_name = specifies which database user to use. <br><br>-p = prompts for a password (more secure than typing it directly in the command).<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to connect to a specific database during login, use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mariadb -u user_name -p database_name<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To connect to a remote server, include the host and optionally the port number:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mariadb -u user_name -p -h 192.168.1.100 -P 3306 database_name<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A commonly used secure login command is:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mariadb -u root -p<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You will then be prompted to enter your password:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# mariadb -u root -p<br>Enter password:<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After logging in successfully, you should see output similar to the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# mariadb -u root -p<br>Welcome to the MariaDB monitor.  Commands end with ; or \\g.<br>Your MariaDB connection id is 41<br>Server version: 11.8.6-MariaDB-5 from Ubuntu -- Please help get to 10k stars at https:\/\/github.com\/MariaDB\/Server<br><br>Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.<br><br>Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.<br><br>MariaDB [(none)]><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Bringing It All Together<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it. You successfully installed MariaDB on Ubuntu 26.04 OS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have difficulties with this installation, our Linux admins will help you with any aspect. You need to sign up for one of our <a href=\"https:\/\/linuxhostsupport.com\/monthly-server-management.html\" target=\"_blank\" rel=\"noreferrer noopener\">monthly server management<\/a> or <a href=\"https:\/\/linuxhostsupport.com\/per-incident-support.html\" target=\"_blank\" rel=\"noreferrer noopener\">per-incident server support<\/a> plans. Do not hesitate to contact us anytime. We are available 24\/7.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you liked this post on how to install MariaDB on Ubuntu 26.04, please share it with your friends on social networks using the buttons on the left, or leave a reply below. Thanks.<\/p><div id=\"linux-2095015363\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will walk you through how to install MariaDB on Ubuntu 26.04. MariaDB is a free, open-source relational database management system that serves as a replacement for MySQL, offering better performance, improved flexibility, and enhanced reliability. It comes with advanced features such as Galera Cluster support and a wide range of data [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2554,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[182],"tags":[199,55,335],"class_list":["post-2546","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-how-to-install","tag-mariadb","tag-ubuntu-26-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install MariaDB on Ubuntu 26.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"Learn how to install MariaDB on Ubuntu 26.04 using our latest guide, or simply ask our Linux admins to install and set it up all for you.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/\" \/>\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 26.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"Learn how to install MariaDB on Ubuntu 26.04 using our latest guide, or simply ask our Linux admins to install and set it up all for you.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-30T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2026\/05\/how-to-install-mariadb-on-ubuntu-26.04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to install MariaDB on Ubuntu 26.04\",\"datePublished\":\"2026-05-30T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/\"},\"wordCount\":492,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/how-to-install-mariadb-on-ubuntu-26.04.webp\",\"keywords\":[\"how to install\",\"mariadb\",\"ubuntu 26.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/\",\"name\":\"How to install MariaDB on Ubuntu 26.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/how-to-install-mariadb-on-ubuntu-26.04.webp\",\"datePublished\":\"2026-05-30T17:30:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"Learn how to install MariaDB on Ubuntu 26.04 using our latest guide, or simply ask our Linux admins to install and set it up all for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/how-to-install-mariadb-on-ubuntu-26.04.webp\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/how-to-install-mariadb-on-ubuntu-26.04.webp\",\"width\":742,\"height\":410,\"caption\":\"How to install MariaDB on Ubuntu 26.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-mariadb-on-ubuntu-26-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install MariaDB on Ubuntu 26.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install MariaDB on Ubuntu 26.04 | LinuxHostSupport","description":"Learn how to install MariaDB on Ubuntu 26.04 using our latest guide, or simply ask our Linux admins to install and set it up all for you.","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:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/","og_locale":"en_US","og_type":"article","og_title":"How to install MariaDB on Ubuntu 26.04 | LinuxHostSupport","og_description":"Learn how to install MariaDB on Ubuntu 26.04 using our latest guide, or simply ask our Linux admins to install and set it up all for you.","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2026-05-30T17:30:00+00:00","og_image":[{"width":742,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2026\/05\/how-to-install-mariadb-on-ubuntu-26.04.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to install MariaDB on Ubuntu 26.04","datePublished":"2026-05-30T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/"},"wordCount":492,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2026\/05\/how-to-install-mariadb-on-ubuntu-26.04.webp","keywords":["how to install","mariadb","ubuntu 26.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/","name":"How to install MariaDB on Ubuntu 26.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2026\/05\/how-to-install-mariadb-on-ubuntu-26.04.webp","datePublished":"2026-05-30T17:30:00+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"Learn how to install MariaDB on Ubuntu 26.04 using our latest guide, or simply ask our Linux admins to install and set it up all for you.","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2026\/05\/how-to-install-mariadb-on-ubuntu-26.04.webp","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2026\/05\/how-to-install-mariadb-on-ubuntu-26.04.webp","width":742,"height":410,"caption":"How to install MariaDB on Ubuntu 26.04"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-mariadb-on-ubuntu-26-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install MariaDB on Ubuntu 26.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2546"}],"version-history":[{"count":2,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2546\/revisions"}],"predecessor-version":[{"id":2551,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2546\/revisions\/2551"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/2554"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}