{"id":50302,"date":"2025-05-07T12:30:00","date_gmt":"2025-05-07T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=50302"},"modified":"2025-04-10T07:11:35","modified_gmt":"2025-04-10T12:11:35","slug":"how-to-install-mariadb-on-almalinux-10","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/","title":{"rendered":"How to Install MariaDB on AlmaLinux 10"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp\" alt=\"How to Install MariaDB on AlmaLinux 10\" class=\"wp-image-50326\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial will explain how to install MariaDB on AlmaLinux 10. MariaDB is an open-source relational database management system used for storing data. MariaDB is written in C, C++, Perl, an57d Bash and is highly compatible with MySQL, with exact matching with MySQL APIs and commands. It was developed by the original developers of MySQL and designed as a drop-in replacement for MySQL. MariaDB is used because it is fast, scalable, and robust, with a rich system of storage engines and plugins. The following paragraphs will teach you how to install MariaDB, manage the service, and use some basic commands for login, creating a database, and users in the MariaDB console.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Installing the MariaDB database system is straightforward and may take up to 15 minutes. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a182cfeb1e0b\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a182cfeb1e0b\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#Update-the-system\" >Update the system<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#Install-MariaDB-Database-Server\" >Install MariaDB Database Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#Manage-the-MariaDB-Service\" >Manage the MariaDB Service<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#Secure-MariaDB-Installation\" >Secure MariaDB Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#Create-MariaDB-Database-and-User\" >Create MariaDB Database and User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#MySQL-Dump-and-MySQL-Import-Database\" >MySQL Dump and MySQL Import Database<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server running AlmaLinux 10 or any Linux OS<\/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\"><span class=\"ez-toc-section\" id=\"Update-the-system\"><\/span>Update the system<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before we start with the MariaDB database system installation process, it is recommended that the system packages be updated to their latest available versions. To do that, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf update -y &amp;&amp; sudo dnf upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install-MariaDB-Database-Server\"><\/span>Install MariaDB Database Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MariaDB packages are in the latest AlmaLinux 10 repository by default. So to install the MariaDB database server, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf install mariadb-server -y<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After the installation is completed, you can check the installed MariaDB version with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql -V<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# mysql -V\nmysql  Ver 15.1 Distrib 10.11.9-MariaDB, for Linux (x86_64) using  EditLine wrappe\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Manage-the-MariaDB-Service\"><\/span>Manage the MariaDB Service<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once installed, start and enable the MariaDB database service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start mariadb &amp;&amp; sudo systemctl enable mariadb<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To check the status of the service, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status mariadb<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf mariadb.service - MariaDB 10.11 database server\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mariadb.service; enabled; preset: disabled)\n     Active: active (running) since Sat 2025-03-28 13:42:38 CDT; 7s ago\n Invocation: 8b830e16e6434c75bcd782667fffffd6\n       Docs: man:mariadbd(8)\n             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\n   Main PID: 31307 (mariadbd)\n     Status: \"Taking your SQL requests now...\"\n      Tasks: 11 (limit: 23175)\n     Memory: 208M (peak: 236.1M)\n        CPU: 2.241s\n     CGroup: \/system.slice\/mariadb.service\n             \u2514\u250031307 \/usr\/libexec\/mariadbd --basedir=\/usr\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To restart the MariaDB service, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart mariadb<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To stop the MariaDB service, you can use the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl stop mariadb<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Secure-MariaDB-Installation\"><\/span>Secure MariaDB Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The security of MariaDB is the most critical part of the installation. We need to set up a strong root password, remove any anonymous users, remove test databases, etc. This can be done by executing the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mysql_secure_installation<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After running this command, you need to follow the prompts. It should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Enter current password for root (enter for none): <strong>Hit Enter<\/strong>\n\nSwitch to unix_socket authentication [Y\/n] <strong>n<\/strong>\n\nChange the root password? [Y\/n] <strong>Y<\/strong>\nNew password: <strong>YourStrongPasswordHere<\/strong>\nRe-enter new password:<strong>YourStrongPasswordHere<\/strong>\n\nRemove anonymous users? [Y\/n] <strong>Y<\/strong>\n\nDisallow root login remotely? [Y\/n] <strong>Y<\/strong>\n\nRemove test database and access to it? [Y\/n] <strong>Y<\/strong>\n\nReload privilege tables now? [Y\/n] <strong>Y<\/strong>\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Create-MariaDB-Database-and-User\"><\/span>Create MariaDB Database and User<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s create a test database and test database using the MariaDB console. First, log in to the MariaDB console using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql -u root -p<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You need to enter the root password you set in the previous step:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# mysql -u root -p\nEnter password: <strong>YourStrongPasswordHere<\/strong>\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once logged in, you will see the following screen:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# mysql -u root -p\nEnter password: \nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 15\nServer version: 10.11.9-MariaDB MariaDB Server\n\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB [(none)]&gt;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now, to create a test database, database user, and assign the proper permissions, execute the following commands one by one in the MySQL terminal:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">CREATE DATABASE testdb;\n\nCREATE USER 'testuser'@'localhost' IDENTIFIED BY 'StrongPasswordHere';\n\nGRANT ALL ON testdb.* TO 'testuser'@'localhost' WITH GRANT OPTION;\n\nFLUSH PRIVILEGES;\n\nEXIT;\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"MySQL-Dump-and-MySQL-Import-Database\"><\/span>MySQL Dump and MySQL Import Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A MySQL dump is a .sql file containing the database tables and their data. It is used to create a database backup. To make a database dump of the database, you need to execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysqldump -u testuser -p testdb &gt; testdb.sql\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">MySQL import is used to import the database from the backup. The MySQL import imports the previously dumped backup of the database .sql file. To import the database, you can use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql -u testuser -p testdb &lt; testdb.sql<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, the only difference between the MySQL export and import is the <strong>&gt; <\/strong>AND <strong>&lt; <\/strong>operator. The <strong>&gt; <\/strong>is used for the MySQL dump while the <strong>&lt; <\/strong>is for MySQL import.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it. You learned how to install and manage the MariaDB database system and some basic commands on AlmaLinux 10.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, you don\u2019t have to do this if you have difficulties and are unfamiliar with Linux and MySQL servers. You can always contact our technical support. You only need to sign up for one of our <a href=\"https:\/\/www.rosehosting.com\/almalinux-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">AlmaLinux VPS plans<\/a> and submit a support ticket. We are available 24\/7 and will take care of your request immediately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you liked this post about installing MariaDB on AlmaLinux 10, please share it with your friends or leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will explain how to install MariaDB on AlmaLinux 10. MariaDB is an open-source relational database management system used &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install MariaDB on AlmaLinux 10\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#more-50302\" aria-label=\"Read more about How to Install MariaDB on AlmaLinux 10\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":50326,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2176,1702],"tags":[2263,41,1603,296],"class_list":["post-50302","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-almalinux","category-databases","tag-almalinux-10","tag-database","tag-how-to-install","tag-mariadb","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6.1 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install MariaDB on AlmaLinux 10 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install MariaDB on AlmaLinux 10 using our latest easy-to-follow guide, or have our Linux admins install it 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:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/\" \/>\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 AlmaLinux 10\" \/>\n<meta property=\"og:description\" content=\"How to Install MariaDB on AlmaLinux 10 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-07T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\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:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install MariaDB on AlmaLinux 10\",\"datePublished\":\"2025-05-07T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/\"},\"wordCount\":624,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/how-to-install-mariadb-on-almalinux-10.webp\",\"keywords\":[\"almalinux 10\",\"database\",\"how to install\",\"mariadb\"],\"articleSection\":[\"AlmaLinux\",\"Databases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/\",\"name\":\"How to Install MariaDB on AlmaLinux 10 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/how-to-install-mariadb-on-almalinux-10.webp\",\"datePublished\":\"2025-05-07T17:30:00+00:00\",\"description\":\"Learn how to install MariaDB on AlmaLinux 10 using our latest easy-to-follow guide, or have our Linux admins install it for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/how-to-install-mariadb-on-almalinux-10.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/how-to-install-mariadb-on-almalinux-10.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to Install MariaDB on AlmaLinux 10\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mariadb-on-almalinux-10\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install MariaDB on AlmaLinux 10\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install MariaDB on AlmaLinux 10 | RoseHosting","description":"Learn how to install MariaDB on AlmaLinux 10 using our latest easy-to-follow guide, or have our Linux admins install it 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:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Install MariaDB on AlmaLinux 10","og_description":"How to Install MariaDB on AlmaLinux 10 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2025-05-07T17:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install MariaDB on AlmaLinux 10","datePublished":"2025-05-07T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/"},"wordCount":624,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp","keywords":["almalinux 10","database","how to install","mariadb"],"articleSection":["AlmaLinux","Databases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/","name":"How to Install MariaDB on AlmaLinux 10 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp","datePublished":"2025-05-07T17:30:00+00:00","description":"Learn how to install MariaDB on AlmaLinux 10 using our latest easy-to-follow guide, or have our Linux admins install it for you.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/05\/how-to-install-mariadb-on-almalinux-10.webp","width":1024,"height":576,"caption":"How to Install MariaDB on AlmaLinux 10"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mariadb-on-almalinux-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install MariaDB on AlmaLinux 10"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/50302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=50302"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/50302\/revisions"}],"predecessor-version":[{"id":50327,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/50302\/revisions\/50327"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/50326"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=50302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=50302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=50302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}