{"id":44755,"date":"2023-03-08T12:30:09","date_gmt":"2023-03-08T18:30:09","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=44755"},"modified":"2023-03-01T03:54:36","modified_gmt":"2023-03-01T09:54:36","slug":"how-to-install-mysql-on-almalinux","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/","title":{"rendered":"How to Install MySQL on AlmaLinux"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"size-full wp-image-45000 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp\" alt=\"install mysql on almalinux\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux-300x150.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux-150x75.webp 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this tutorial, we&#8217;ll be going over every step of how to install MySQL on AlmaLinux.<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/database-hosting\/\">Database servers<\/a> are the core of many web applications on the Internet. Their resource efficiency and great performance allow many users to read and write to websites simultaneously without issue. MySQL is one of the most popular database management platforms in the world. Since MySQL is not included by default on AlmaLinux, we&#8217;ll have to see how to install it.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 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-69fd0b332c5a0\" 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-69fd0b332c5a0\"  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-mysql-on-almalinux\/#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-mysql-on-almalinux\/#Install-MySQL-on-AlmaLinux-8\" >Install MySQL on AlmaLinux 8<\/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-mysql-on-almalinux\/#Install-MySQL-on-AlmaLinux-9\" >Install MySQL on AlmaLinux 9<\/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-mysql-on-almalinux\/#Using-MySQL-Server\" >Using MySQL Server<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You only need a <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\">Linux VPS<\/a> running AlmaLinux 8 or 9; both will work for this tutorial. You will also need root or superuser access to be able to run the commands needed to install the software.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Install-MySQL-on-AlmaLinux-8\"><\/span>Install MySQL on AlmaLinux 8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3>Install using DNF<\/h3>\n<p>The fastest and easiest method of installing MySQL on AlmaLinux is to use the built-in package manager, DNF. Short for Dandified YUM, this package manager is the evolution of YUM, which was used in previous years.<\/p>\n<p>To install MySQL using the package manager, we need to ensure that we have the AppStream software repository enabled on our system. Run this command to see all of your repositories:<\/p>\n<pre>dnf repolist<\/pre>\n<p>You should get output that looks something like this:<\/p>\n<pre>repo id repo name\r\nappstream AlmaLinux 8 - AppStream\r\nbaseos AlmaLinux 8 - BaseOS\r\nepel Extra Packages for Enterprise Linux 8 - x86_64\r\nextras AlmaLinux 8 - Extras<\/pre>\n<p>If AppStream is present in the list, then great! You do not need to enable anything. If you do not see an entry for AppStream, you will need to enable it using this command:<\/p>\n<pre>dnf config-manager --enable appstream<\/pre>\n<p>Once enabled, you can proceed with the installation.<\/p>\n<p>To install the MySQL server, please run this command:<\/p>\n<pre>dnf install mysql-server<\/pre>\n<p>You will see a bunch of packages that need to be downloaded; these are dependencies and some additional packages that typically go together with the MySQL server, such as the client that allows you to interact with the server.<\/p>\n<p>Press the [Y] key on your keyboard, then press [Enter] to confirm that you want to install the packages. When the command is finished, you will have installed the MySQL server on AlmaLinux 8 successfully.<\/p>\n<h3>Install using Packages from MySQL<\/h3>\n<p>If, for some reason, you need the latest version of MySQL server &#8211; even newer than what is included in the AppStream repository &#8211; you can download the packages directly from MySQL&#8217;s official website. Keep in mind that you&#8217;ll need to choose what packages you need for your use case. For this method, we will only show you the minimum steps required to install the main server package using a package download. You should repeat the process with any other packages that you need.<\/p>\n<p>First, we&#8217;ll need to install the libaio package, which is required for MySQL. Install it like so:<\/p>\n<pre>dnf install libaio<\/pre>\n<p>Once done, we can now use the package downloads available on the MySQL website.<\/p>\n<p>Visit the <a href=\"https:\/\/dev.mysql.com\/downloads\/mysql\/\" target=\"_blank\" rel=\"noopener\">downloads page<\/a> on MySQL&#8217;s website that contains the download links. In the &#8220;Select Operating System&#8221; dropdown, select &#8220;Red Hat Enterprise Linux \/ Oracle Linux&#8221;. Set the &#8220;OS version&#8221; dropdown to &#8220;Red Hat Enterprise Linux 8 \/ Oracle Linux (x86, 64-bit)&#8221;. You can select ARM or 32-bit if your server is running on that architecture. You can download the RPM bundle if you want all of the available packages in one download. If not, you can just click Download on the necessary packages. When taken to the login prompt, you can right-click on &#8220;No thanks, just start my download&#8221; and copy the link.<\/p>\n<p>This list of packages is all required to be installed in order to be able to install MySQL server:<\/p>\n<pre>https:\/\/dev.mysql.com\/get\/Downloads\/MySQL-8.0\/mysql-community-common-8.0.32-1.el8.x86_64.rpm\r\nhttps:\/\/dev.mysql.com\/get\/Downloads\/MySQL-8.0\/mysql-community-icu-data-files-8.0.32-1.el8.x86_64.rpm\r\nhttps:\/\/dev.mysql.com\/get\/Downloads\/MySQL-8.0\/mysql-community-client-plugins-8.0.32-1.el8.x86_64.rpm\r\nhttps:\/\/dev.mysql.com\/get\/Downloads\/MySQL-8.0\/mysql-community-libs-8.0.32-1.el8.x86_64.rpm\r\nhttps:\/\/dev.mysql.com\/get\/Downloads\/MySQL-8.0\/mysql-community-client-8.0.32-1.el8.x86_64.rpm<\/pre>\n<p>You can download these packages onto your server by using the wget command. If you don&#8217;t have this tool installed on your system, you can install it using this command:<\/p>\n<pre>dnf install wget<\/pre>\n<p>Now you can download the packages using wget. This is one example:<\/p>\n<pre>wget https:\/\/dev.mysql.com\/get\/Downloads\/MySQL-8.0\/mysql-community-common-8.0.32-1.el8.x86_64.rpm<\/pre>\n<p>Once downloaded, you can install this .rpm file using the RPM command:<\/p>\n<pre>rpm -i mysql-community-common-8.0.32-1.el8.x86_64.rpm<\/pre>\n<p>With that, you now have the first required package installed. Repeat the process with all of the packages in the order they are listed above.<\/p>\n<p>Finally, we can download and install the server package:<\/p>\n<pre>wget https:\/\/dev.mysql.com\/get\/Downloads\/MySQL-8.0\/mysql-community-server-8.0.32-1.el8.x86_64.rpm\r\nrpm -i mysql-community-server-8.0.32-1.el8.x86_64.rpm<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Install-MySQL-on-AlmaLinux-9\"><\/span>Install MySQL on AlmaLinux 9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3>Install using DNF<\/h3>\n<p>To install using the package manager, you can follow the exact same steps as AlmaLinux 8 above to get MySQL installed and running on your server.<\/p>\n<h3>Install using packages from the MySQL website<\/h3>\n<p>The procedure is largely identical to AlmaLinux 8, with one key difference. In the OS dropdown on the download page, make sure to select Red Hat Enterprise Linux 9 \/ Oracle Linux 9 (x86, 64-bit). The rest of the procedure should be the exact same.<\/p>\n<p>You now have the latest version of MySQL server installed on AlmaLinux!<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Using-MySQL-Server\"><\/span>Using MySQL Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To start the server, you can run this command:<\/p>\n<pre>systemctl start mysqld<\/pre>\n<p>To make sure that MySQL runs automatically on server boot, you can run a similar command:<\/p>\n<pre>systemctl enable mysqld<\/pre>\n<p>Finally, you can run a command that will help you secure your MySQL installation.<\/p>\n<pre>mysql_secure_installation<\/pre>\n<p>This tool will let you set your MySQL root password, configure best practices for security, and delete the sample user and database. We highly recommend setting a <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-change-root-password-in-linux\/\">root password<\/a> for your MySQL user, as no password is set by default.<\/p>\n<p>If you found this article useful and were able to install MySQL on your <a href=\"https:\/\/www.rosehosting.com\/almalinux-hosting\/\">AlmaLinux server<\/a>, please consider sharing the knowledge on social media or the Internet. You can also leave a comment if you want to show appreciation or if you have any better methods of installing MySQL. Thank you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we&#8217;ll be going over every step of how to install MySQL on AlmaLinux. Database servers are the &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install MySQL on AlmaLinux\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#more-44755\" aria-label=\"Read more about How to Install MySQL on AlmaLinux\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":45000,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1702,13,1707],"tags":[1910,2048,39],"class_list":["post-44755","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases","category-tutorials","category-web-servers","tag-almalinux","tag-database-servers","tag-mysql","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.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install MySQL on AlmaLinux | RoseHosting<\/title>\n<meta name=\"description\" content=\"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.\" \/>\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-mysql-on-almalinux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install MySQL on AlmaLinux\" \/>\n<meta property=\"og:description\" content=\"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/\" \/>\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=\"2023-03-08T18:30:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\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:title\" content=\"How to Install MySQL on AlmaLinux\" \/>\n<meta name=\"twitter:description\" content=\"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.\" \/>\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-mysql-on-almalinux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install MySQL on AlmaLinux\",\"datePublished\":\"2023-03-08T18:30:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/\"},\"wordCount\":885,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-mysql-on-almalinux.webp\",\"keywords\":[\"almalinux\",\"database servers\",\"mysql\"],\"articleSection\":[\"Databases\",\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/\",\"name\":\"How to Install MySQL on AlmaLinux | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-mysql-on-almalinux.webp\",\"datePublished\":\"2023-03-08T18:30:09+00:00\",\"description\":\"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-mysql-on-almalinux.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-mysql-on-almalinux.webp\",\"width\":742,\"height\":372,\"caption\":\"install mysql on almalinux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install MySQL on AlmaLinux\"}]},{\"@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 MySQL on AlmaLinux | RoseHosting","description":"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.","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-mysql-on-almalinux\/","og_locale":"en_US","og_type":"article","og_title":"How to Install MySQL on AlmaLinux","og_description":"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-03-08T18:30:09+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install MySQL on AlmaLinux","twitter_description":"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.","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-mysql-on-almalinux\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install MySQL on AlmaLinux","datePublished":"2023-03-08T18:30:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/"},"wordCount":885,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp","keywords":["almalinux","database servers","mysql"],"articleSection":["Databases","Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/","name":"How to Install MySQL on AlmaLinux | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp","datePublished":"2023-03-08T18:30:09+00:00","description":"MySQL is one of the most popular database management platforms in the world. Check out our guide and find out how to install it on AlmaLinux.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-mysql-on-almalinux.webp","width":742,"height":372,"caption":"install mysql on almalinux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install MySQL on AlmaLinux"}]},{"@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\/44755","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=44755"}],"version-history":[{"count":11,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44755\/revisions"}],"predecessor-version":[{"id":45001,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44755\/revisions\/45001"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/45000"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=44755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=44755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=44755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}