{"id":50318,"date":"2025-05-14T12:30:00","date_gmt":"2025-05-14T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=50318"},"modified":"2025-04-10T07:10:41","modified_gmt":"2025-04-10T12:10:41","slug":"how-to-install-mysql-on-almalinux-10","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/","title":{"rendered":"How to Install MySQL 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\/04\/how-to-install-MySQL-on-AlmaLinux-10.webp\" alt=\"How to Install MySQL on AlmaLinux\" class=\"wp-image-50332\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>MySQL is one of the world&#8217;s most popular and widely used relational database management systems (RDBMS). Developed in 1995 by MySQL AB, the software is now under the auspices of Oracle Corporation. MySQL is known for its efficient data management capabilities, flexibility, and compatibility with various platforms and programming languages. This article will show you how to install MySQL server on AlmaLinux 10.<\/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 server with AlmaLinux 10<\/li>\n\n\n\n<li>SSH root access or a regular system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Conventions<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command<br>$ \u2013 given commands should be executed as a regular user<\/pre>\n\n\n\n<p>The easiest and fastest way to install MySQL server on AlmaLinux 10 is from the repository. Execute the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install mysql-server<\/pre>\n\n\n\n<p>You will see the message like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Last metadata expiration check: 2:16:01 ago on Mon Mar 31 21:44:11 2025.<br>Dependencies resolved.<br>==============================================================================================================================================================================<br> Package                                  Architecture                              Version                                           Repository                         Size<br>==============================================================================================================================================================================<br>Installing:<br> mysql-server                             x86_64_v2                                 8.4.2-4.el10                                      appstream                          18 M<br>Installing dependencies:<br> checkpolicy                              x86_64_v2                                 3.7-1.el10                                        appstream                         353 k<br> libaio                                   x86_64_v2                                 0.3.111-20.el10                                   baseos                             23 k<br> libtirpc                                 x86_64_v2                                 1.3.5-0.el10                                      baseos                             94 k<br> mariadb-connector-c-config               noarch                                    3.4.1-1.el10                                      baseos                            8.6 k<br> mecab                                    x86_64_v2                                 0.996-8.el10                                      appstream                         360 k<br> mysql                                    x86_64_v2                                 8.4.2-4.el10                                      appstream                         2.5 M<br> mysql-common                             noarch                                    8.4.2-4.el10                                      appstream                          79 k<br> mysql-errmsg                             noarch                                    8.4.2-4.el10                                      appstream                         528 k<br> mysql-selinux                            noarch                                    1.0.10-4.el10                                     appstream                          36 k<br> policycoreutils-python-utils             noarch                                    3.7-2.el10                                        appstream                          52 k<br> protobuf-lite                            x86_64_v2                                 3.19.6-10.el10                                    appstream                         256 k<br> python3-audit                            x86_64_v2                                 4.0-9.el10                                        appstream                          67 k<br> python3-distro                           noarch                                    1.9.0-4.el10                                      appstream                          50 k<br> python3-libsemanage                      x86_64_v2                                 3.7-1.el10                                        appstream                          81 k<br> python3-policycoreutils                  noarch                                    3.7-2.el10                                        appstream                         2.2 M<br> python3-setools                          x86_64_v2                                 4.5.1-3.el10                                      baseos                            741 k<br> python3-setuptools                       noarch                                    69.0.3-5.el10                                     baseos                            1.6 M<br><br>Transaction Summary<br>==============================================================================================================================================================================<br>Install  18 Packages<br><br>Total download size: 27 M<br>Installed size: 183 M<br>Is this ok [y\/N]:  <\/pre>\n\n\n\n<p>Press Y to proceed with the installation and wait until it finishes.<\/p>\n\n\n\n<p>After a few moments, the MySQL server will be installed. At this point, we need to start it as it does not automatically start upon installation.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl start mysqld<\/pre>\n\n\n\n<p>It should be started now, we can check it with this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl status mysqld<\/pre>\n\n\n\n<p>You will get an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@rh ~]# systemctl status mysqld<br>\u25cf mysqld.service - MySQL 8.4 database server<br>     Loaded: loaded (\/usr\/lib\/systemd\/system\/mysqld.service; disabled; preset: disabled)<br>     Active: active (running) since Tue 2025-04-01 00:03:07 CDT; 13s ago<br> Invocation: 2c73a87b3caa4c7aa5aa577954df84c2<br>    Process: 3756 ExecStartPre=\/usr\/libexec\/mysql-check-socket (code=exited, status=0\/SUCCESS)<br>    Process: 3778 ExecStartPre=\/usr\/libexec\/mysql-prepare-db-dir mysqld.service (code=exited, status=0\/SUCCESS)<br>   Main PID: 3854 (mysqld)<br>     Status: \"Server is operational\"<br>      Tasks: 35 (limit: 23175)<br>     Memory: 448.4M (peak: 461.1M)<br>        CPU: 7.356s<br>     CGroup: \/system.slice\/mysqld.service<br>             \u2514\u25003854 \/usr\/libexec\/mysqld --basedir=\/usr<br><br>Apr 01 00:02:55 rh.aroel.net systemd[1]: Starting mysqld.service - MySQL 8.4 database server...<br>Apr 01 00:02:55 rh.aroel.net mysql-prepare-db-dir[3778]: Initializing MySQL database<br>Apr 01 00:03:07 rh.aroel.net systemd[1]: Started mysqld.service - MySQL 8.4 database server.<\/pre>\n\n\n\n<p>As seen above, &#8220;Active: active (running)&#8221; means that the MySQL server is running now.<\/p>\n\n\n\n<p>If you see the status again, especially in part &#8220;Loaded: loaded (\/usr\/lib\/systemd\/system\/mysqld.service; disabled; preset: disabled)&#8221;. This means MySQL will not automatically start when the server is rebooted. To change this, we can execute this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable mysqld<\/pre>\n\n\n\n<p>The systemctl has now enabled the MySQL service. It will automatically run each time you reboot your server.<\/p>\n\n\n\n<p>Now, we can try to log in to MySQL shell.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql<\/pre>\n\n\n\n<p>After running the command, you will see this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Welcome to the MySQL monitor.  Commands end with ; or \\g.<br>Your MySQL connection id is 55<br>Server version: 8.4.2 Source distribution<br><br>Copyright (c) 2000, 2024, Oracle and\/or its affiliates.<br><br>Oracle is a registered trademark of Oracle Corporation and\/or its<br>affiliates. Other names may be trademarks of their respective<br>owners.<br><br>Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.<br><br>mysql&gt; <\/pre>\n\n\n\n<p>Now, you can start working on the MySQL shell. You can type \\q then hit ENTER to exit from the shell.<\/p>\n\n\n\n<p>As seen there, we can log in to MySQL shell without a password as the user root. To secure MySQL, we can execute this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql_secure_installation<\/pre>\n\n\n\n<p>This script will prompt you with a few questions.<\/p>\n\n\n\n<p>[root@rh ~]# mysql_secure_installation<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Securing the MySQL server deployment.<br><br>Connecting to MySQL using a blank password.<br><br>VALIDATE PASSWORD COMPONENT can be used to test passwords<br>and improve security. It checks the strength of password<br>and allows the users to set only those passwords which are<br>secure enough. Would you like to setup VALIDATE PASSWORD component?<br><br>Press y|Y for Yes, any other key for No: <\/pre>\n\n\n\n<p>Hit Y then ENTER.<\/p>\n\n\n\n<p>Then, you will see this message below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">There are three levels of password validation policy:<br><br>LOW    Length &gt;= 8<br>MEDIUM Length &gt;= 8, numeric, mixed case, and special characters<br>STRONG Length &gt;= 8, numeric, mixed case, special characters and dictionary                  file<br><br>Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: <\/pre>\n\n\n\n<p>Enter 2 if you want the strongest password.<\/p>\n\n\n\n<p>Then, the script will ask you to type a new root password. Make sure it&#8217;s a strong password with at least 8 numeric, mixed-case, and special characters.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">New password: <br><br>Re-enter new password: <br><br>Estimated strength of the password: 100 <br>Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : <\/pre>\n\n\n\n<p>Choose Y, then hit ENTER<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">By default, a MySQL installation has an anonymous user,<br>allowing anyone to log into MySQL without having to have<br>a user account created for them. This is intended only for<br>testing, and to make the installation go a bit smoother.<br>You should remove them before moving into a production<br>environment.<br><br>Remove anonymous users? (Press y|Y for Yes, any other key for No) :<\/pre>\n\n\n\n<p>Press Y, then ENTER<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Normally, root should only be allowed to connect from<br>'localhost'. This ensures that someone cannot guess at<br>the root password from the network.<br><br>Disallow root login remotely? (Press y|Y for Yes, any other key for No) : <\/pre>\n\n\n\n<p>Again, press Y then ENTER<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Remove test database and access to it? (Press y|Y for Yes, any other key for No) :<\/pre>\n\n\n\n<p>Hit Y, then ENTER once more<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> - Dropping test database...<br>Success.<br><br> - Removing privileges on test database...<br>Success.<br><br>Reloading the privilege tables will ensure that all changes<br>made so far will take effect immediately.<br><br>Reload privilege tables now? (Press y|Y for Yes, any other key for No) : <\/pre>\n\n\n\n<p>Finally, press Y then ENTER for the last time.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Success.<br><br>All done!<\/pre>\n\n\n\n<p>That&#8217;s it all! You have successfully installed MySQL Server on AlmaLinux 10 and secured the installation.<\/p>\n\n\n\n<p>Congratulations! You have followed this article, and now you can install MySQL on AlmaLinux 10.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to install MySQL on AlmaLinux 10 if you use one of our <a href=\"https:\/\/www.rosehosting.com\/almalinux-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">managed hosting services<\/a>. In this case, you can ask our expert Linux admins to install MySQL on AlmaLinux 10. Our expert administrators are available 24\u00d77 and will take care of your request immediately.<\/p>\n\n\n\n<p>If you liked this article, please share it with your friends or leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL is one of the world&#8217;s most popular and widely used relational database management systems (RDBMS). Developed in 1995 by &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install MySQL on AlmaLinux 10\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#more-50318\" aria-label=\"Read more about How to Install MySQL on AlmaLinux 10\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":50332,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2176,1702],"tags":[2263,41,1603,39],"class_list":["post-50318","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-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 10 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install MySQL on AlmaLinux 10 using our latest easy-to-follow guide. Alternatively, let 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-mysql-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 MySQL on AlmaLinux 10\" \/>\n<meta property=\"og:description\" content=\"How to Install MySQL on AlmaLinux 10 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-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-14T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-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=\"6 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-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install MySQL on AlmaLinux 10\",\"datePublished\":\"2025-05-14T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/\"},\"wordCount\":486,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/how-to-install-MySQL-on-AlmaLinux-10.webp\",\"keywords\":[\"almalinux 10\",\"database\",\"how to install\",\"mysql\"],\"articleSection\":[\"AlmaLinux\",\"Databases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/\",\"name\":\"How to Install MySQL on AlmaLinux 10 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/how-to-install-MySQL-on-AlmaLinux-10.webp\",\"datePublished\":\"2025-05-14T17:30:00+00:00\",\"description\":\"Learn how to install MySQL on AlmaLinux 10 using our latest easy-to-follow guide. Alternatively, let our Linux admins install it for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-on-almalinux-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/how-to-install-MySQL-on-AlmaLinux-10.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/how-to-install-MySQL-on-AlmaLinux-10.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to Install MySQL on AlmaLinux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mysql-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 MySQL 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 MySQL on AlmaLinux 10 | RoseHosting","description":"Learn how to install MySQL on AlmaLinux 10 using our latest easy-to-follow guide. Alternatively, let 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-mysql-on-almalinux-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Install MySQL on AlmaLinux 10","og_description":"How to Install MySQL on AlmaLinux 10 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-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-14T17:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install MySQL on AlmaLinux 10","datePublished":"2025-05-14T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/"},"wordCount":486,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10.webp","keywords":["almalinux 10","database","how to install","mysql"],"articleSection":["AlmaLinux","Databases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/","name":"How to Install MySQL on AlmaLinux 10 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10.webp","datePublished":"2025-05-14T17:30:00+00:00","description":"Learn how to install MySQL on AlmaLinux 10 using our latest easy-to-follow guide. Alternatively, let our Linux admins install it for you.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-on-almalinux-10\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/04\/how-to-install-MySQL-on-AlmaLinux-10.webp","width":1024,"height":576,"caption":"How to Install MySQL on AlmaLinux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mysql-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 MySQL 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\/50318","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=50318"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/50318\/revisions"}],"predecessor-version":[{"id":50334,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/50318\/revisions\/50334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/50332"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=50318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=50318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=50318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}