{"id":760,"date":"2022-09-16T06:33:29","date_gmt":"2023-03-27T05:27:07","guid":{"rendered":"https:\/\/www.silicloud.com\/blog\/uncategorized\/how-can-i-install-mysql-on-rocky-linux-9\/"},"modified":"2024-03-17T11:56:54","modified_gmt":"2024-03-17T11:56:54","slug":"how-can-i-install-mysql-on-rocky-linux-9","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/","title":{"rendered":"How can I install MySQL on Rocky Linux 9?"},"content":{"rendered":"<h3>The introductory section<\/h3>\n<p>MySQL is a database management system that is open-source and commonly found in the<a href=\"https:\/\/lempstack.com\/\"> LEMP stack<\/a>, which includes Linux, Nginx, MySQL\/MariaDB, and PHP\/Python\/Perl. It enables the management and retrieval of data by implementing the relational model and utilizing SQL.<\/p>\n<p>This guide illustrates the process of MySQL version 8 installation on a Rocky Linux 9 server.<\/p>\n<h2>Requirements<\/h2>\n<p>In order to finish this tutorial, you will require a Rocky Linux 9 server. It is essential to have a non-root user with admin privileges on this server and a firewalld configured firewall. For instructions on setting this up, refer to our Initial Server Setup guide for Rocky Linux 9.<\/p>\n<h2>First, install MySQL.<\/h2>\n<p>MySQL version 8 can be found in the default repositories of Rocky Linux 9.<\/p>\n<p>To install the mysql-server package along with its dependencies, run the given command.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> mysql-server<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Once prompted, press the letter y followed by the ENTER key to confirm your intention to proceed.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>. . . Install 49 Packages Total download size: 46 M Installed size: 252 M Is this ok [y\/N]: <mark>y<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>After installing MySQL on your server, it is not yet functioning. The recently installed package sets up MySQL to run as a systemd service, specifically named mysqld.service. To utilize MySQL, you must initiate it using the systemctl command.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl start mysqld.service<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>To ensure the proper functioning of the service, execute the given command. It&#8217;s important to note that for most systemctl commands, such as start and status mentioned here, you can omit .service after the service name.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl status mysqld<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>If MySQL starts up without any issues, the output will indicate that the MySQL service is currently active.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u25cf mysqld.service &#8211; MySQL 8.0 database server Loaded: loaded (\/usr\/lib\/systemd\/system\/mysqld.service; enabled; vendor preset: disabled) Active: <mark>active<\/mark> (running) since Thu 2020-03-12 14:07:41 UTC; 1min 7s ago Main PID: 15723 (mysqld) Status: &#8220;Server is operational&#8221; Tasks: 38 (limit: 5056) Memory: 474.2M CGroup: \/system.slice\/mysqld.service \u2514\u250015723 \/usr\/libexec\/mysqld &#8211;basedir=\/usr Mar 12 14:07:32 rocky9-mysql systemd[1]: Starting MySQL 8.0 database server&#8230; Mar 12 14:07:32 rocky9-mysql mysql-prepare-db-dir[15639]: Initializing MySQL database Mar 12 14:07:41 rocky9-mysql systemd[1]: Started MySQL 8.0 database server.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Afterward, use this command to ensure that MySQL starts every time the server is powered on:<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> mysqld<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>If you ever want to alter this feature and prevent MySQL from automatically starting when the system boots up, you can achieve this by executing the following command using sudo:<br \/>\nsudo systemctl disable mysqld<\/div>\n<\/div>\n<p>Your server now has MySQL installed, running, and enabled. In the next step, we will explain the process of enhancing your database&#8217;s security by using a preinstalled shell script for your MySQL instance.<\/p>\n<h2>Step 2 &#8211; Ensuring the security of MySQL<\/h2>\n<p>MySQL comes with a security script which enables you to modify certain default configuration options with the aim of enhancing the security of MySQL.<\/p>\n<p>To utilize the security script, execute the following directive:<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> mysql_secure_installation<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>You will be guided through a sequence of prompts that inquire about your willingness to modify the security options of your MySQL installation. The initial prompt will inquire if you wish to establish the Validate Password Plugin, which is useful for evaluating the robustness of your MySQL password.<\/p>\n<p>If you decide to establish the Validate Password Plugin, you will be prompted to select a password validation level. The highest level, which can be chosen by entering 2, will demand that your password consists of a minimum of eight characters and comprises a combination of uppercase letters, lowercase letters, numbers, and special characters.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Securing the MySQL server deployment. Connecting to MySQL using a blank password. VALIDATE PASSWORD COMPONENT can be used to test passwords and improve security. It checks the strength of password and allows the users to set only those passwords which are secure enough. Would you like to setup VALIDATE PASSWORD component? Press y|Y for Yes, any other key for No: <mark>Y<\/mark> There are three levels of password validation policy: LOW Length &gt;= 8 MEDIUM Length &gt;= 8, numeric, mixed case, and special characters STRONG Length &gt;= 8, numeric, mixed case, special characters and dictionary file Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: <mark>2<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>No matter if you decide to install the Validate Password Plugin, the next step will require you to create a password for the MySQL root user. Please provide and confirm a strong password of your preference.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Please set the password for root here. New password: Re-enter new password:<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>If you have utilized the Validate Password Plugin, you will be provided with an evaluation of the potency of your recently created password. Following that, the script will inquire whether you wish to proceed with the password you have just inputted or if you prefer to input a different one. If you are content with the strength of the password you have just entered, type &#8216;Y&#8217; to proceed with the script.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Estimated strength of the password: 100 Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : <mark>Y<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Afterwards, you may select Y and press ENTER to accept the default settings for all the following inquiries. This action will eliminate certain anonymous users and the test database, deactivate remote root logins, and apply these updated regulations to ensure that MySQL promptly acknowledges your modifications.<\/p>\n<p>After completing the installation and security setup of MySQL on your Rocky Linux 9 server, we now move on to the final step of testing the accessibility and functionality of the database.<\/p>\n<h2>Step 3 involves the testing of MySQL.<\/h2>\n<p>To confirm your installation and obtain details about it, you may connect using the mysqladmin tool, which is a client enabling the execution of administrative commands. Use the given command to connect to MySQL as the root user (-u root), prompt for a password (-p), and obtain the version of the installation.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">mysqladmin <span class=\"token parameter variable\">-u<\/span> root <span class=\"token parameter variable\">-p<\/span> version<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>You will observe a result that resembles this.<\/p>\n<div>\n<p>Provide me with one alternative phrasing for the term &#8220;Output&#8221; in a native manner:<\/p>\n<p>Result<\/p>\n<\/div>\n<pre class=\"post-pre\"><code>mysqladmin  Ver 8.0.28 for Linux on x86_64 (Source distribution)\r\nCopyright (c) 2000, 2022, Oracle and\/or its affiliates.\r\n\r\nOracle is a registered trademark of Oracle Corporation and\/or its\r\naffiliates. Other names may be trademarks of their respective\r\nowners.\r\n\r\nServer version        8.0.28\r\nProtocol version    10\r\nConnection        Localhost via UNIX socket\r\nUNIX socket        \/var\/lib\/mysql\/mysql.sock\r\nUptime:            1 min 11 sec\r\n\r\nThreads: 2  Questions: 16  Slow queries: 0  Opens: 133  Flush tables: 3  Open tables: 49  Queries per second avg: 0.225\r\n<\/code><\/pre>\n<p>This signifies that your installation was completed successfully.<\/p>\n<p>To initiate a connection with MySQL and start adding data, execute the given command.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">mysql <span class=\"token parameter variable\">-u<\/span> root <span class=\"token parameter variable\">-p<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Similar to the previous mysqladmin command, this command contains the -u option, enabling you to select the desired user for connection (in this case, root), along with the -p option, which prompts you to enter the user password you established in the preceding step.<\/p>\n<p>Once you have entered the password for your root MySQL user, the MySQL prompt will appear.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"mysql&gt;\"><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>You can commence utilizing your MySQL installation to generate and load databases, as well as initiate querying.<\/p>\n<h2>In summary,<\/h2>\n<p>Once you have completed this tutorial, MySQL will be installed and protected on your Rocky Linux 9 server. Afterward, you can proceed with installing Nginx and PHP to establish a fully functional LEMP stack on your server.<\/p>\n<p>If you&#8217;re interested in expanding your knowledge on MySQL, we strongly recommend going through the official documentation.<\/p>\n<p>&nbsp;<\/p>\n<p>More tutorials<\/p>\n<p><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 cLBplk\" href=\"https:\/\/www.silicloud.com\/blog\/quickstart-guide-for-setting-up-a-new-user-with-sudo-privileges-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noopener\">sudo for new user with privileges on Rocky Linux 8<span class=\"sc-gswNZR eASTkv\">(Opens in a new browser tab)<\/span><\/a><\/p>\n<p><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 cLBplk\" href=\"https:\/\/www.silicloud.com\/blog\/ssh-example-tutorial-for-expect-script\/\" target=\"_blank\" rel=\"noopener\">SSH Example Tutorial for Expect Script<span class=\"sc-gswNZR eASTkv\">(Opens in a new browser tab)<\/span><\/a><\/p>\n<p><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 cLBplk\" href=\"https:\/\/www.silicloud.com\/blog\/guidelines-for-setting-up-ssl-on-tomcat\/\" target=\"_blank\" rel=\"noopener\">Guidelines for Setting up SSL on Tomcat<span class=\"sc-gswNZR eASTkv\">(Opens in a new browser tab)<\/span><\/a><\/p>\n<p><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 cLBplk\" href=\"https:\/\/www.silicloud.com\/blog\/how-to-maintain-updated-rocky-linux-9-servers\/\" target=\"_blank\" rel=\"noopener\">How to Maintain Updated Rocky Linux 9 Servers<span class=\"sc-gswNZR eASTkv\">(Opens in a new browser tab)<\/span><\/a><\/p>\n<p><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 cLBplk\" href=\"https:\/\/www.silicloud.com\/blog\/one-possible-paraphrase-could-besetting-up-a-programming-environment-and-installing-python-3-on-rocky-linux-9\/\" target=\"_blank\" rel=\"noopener\">Python 3 installing on Rocky Linux 9<span class=\"sc-gswNZR eASTkv\">(Opens in a new browser tab)<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The introductory section MySQL is a database management system that is open-source and commonly found in the LEMP stack, which includes Linux, Nginx, MySQL\/MariaDB, and PHP\/Python\/Perl. It enables the management and retrieval of data by implementing the relational model and utilizing SQL. This guide illustrates the process of MySQL version 8 installation on a Rocky [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-760","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How can I install MySQL on Rocky Linux 9? - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"This guide illustrates the process of MySQL version 8 installation on a Rocky Linux 9 server.RequirementsIn order to finish this tutorial,\" \/>\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.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can I install MySQL on Rocky Linux 9?\" \/>\n<meta property=\"og:description\" content=\"This guide illustrates the process of MySQL version 8 installation on a Rocky Linux 9 server.RequirementsIn order to finish this tutorial,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-27T05:27:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-17T11:56:54+00:00\" \/>\n<meta name=\"author\" content=\"Sophia Anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sophia Anderson\" \/>\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.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/\"},\"author\":{\"name\":\"Sophia Anderson\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/19a24313de9c988db3d69226b4a40a30\"},\"headline\":\"How can I install MySQL on Rocky Linux 9?\",\"datePublished\":\"2023-03-27T05:27:07+00:00\",\"dateModified\":\"2024-03-17T11:56:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/\"},\"wordCount\":1235,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/\",\"name\":\"How can I install MySQL on Rocky Linux 9? - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\"},\"datePublished\":\"2023-03-27T05:27:07+00:00\",\"dateModified\":\"2024-03-17T11:56:54+00:00\",\"description\":\"This guide illustrates the process of MySQL version 8 installation on a Rocky Linux 9 server.RequirementsIn order to finish this tutorial,\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.silicloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How can I install MySQL on Rocky Linux 9?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"name\":\"Silicon Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\",\"name\":\"Silicon Cloud Blog\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"contentUrl\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"width\":1024,\"height\":1024,\"caption\":\"Silicon Cloud Blog\"},\"image\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\",\"https:\/\/twitter.com\/SiliCloudGlobal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/19a24313de9c988db3d69226b4a40a30\",\"name\":\"Sophia Anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c726c09aa40e37115fb5c62d0c3ed62c16ca255d3763e2e3ae83a70ddf8c2175?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c726c09aa40e37115fb5c62d0c3ed62c16ca255d3763e2e3ae83a70ddf8c2175?s=96&d=mm&r=g\",\"caption\":\"Sophia Anderson\"},\"url\":\"https:\/\/www.silicloud.com\/blog\/author\/sophiaanderson\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How can I install MySQL on Rocky Linux 9? - Blog - Silicon Cloud","description":"This guide illustrates the process of MySQL version 8 installation on a Rocky Linux 9 server.RequirementsIn order to finish this tutorial,","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.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/","og_locale":"en_US","og_type":"article","og_title":"How can I install MySQL on Rocky Linux 9?","og_description":"This guide illustrates the process of MySQL version 8 installation on a Rocky Linux 9 server.RequirementsIn order to finish this tutorial,","og_url":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/","og_site_name":"Blog - Silicon Cloud","article_publisher":"https:\/\/www.facebook.com\/SiliCloudGlobal\/","article_published_time":"2023-03-27T05:27:07+00:00","article_modified_time":"2024-03-17T11:56:54+00:00","author":"Sophia Anderson","twitter_card":"summary_large_image","twitter_creator":"@SiliCloudGlobal","twitter_site":"@SiliCloudGlobal","twitter_misc":{"Written by":"Sophia Anderson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/#article","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/"},"author":{"name":"Sophia Anderson","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/19a24313de9c988db3d69226b4a40a30"},"headline":"How can I install MySQL on Rocky Linux 9?","datePublished":"2023-03-27T05:27:07+00:00","dateModified":"2024-03-17T11:56:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/"},"wordCount":1235,"commentCount":0,"publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/","url":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/","name":"How can I install MySQL on Rocky Linux 9? - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/#website"},"datePublished":"2023-03-27T05:27:07+00:00","dateModified":"2024-03-17T11:56:54+00:00","description":"This guide illustrates the process of MySQL version 8 installation on a Rocky Linux 9 server.RequirementsIn order to finish this tutorial,","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/blog\/how-can-i-install-mysql-on-rocky-linux-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silicloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How can I install MySQL on Rocky Linux 9?"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/blog\/#website","url":"https:\/\/www.silicloud.com\/blog\/","name":"Silicon Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.silicloud.com\/blog\/#organization","name":"Silicon Cloud Blog","url":"https:\/\/www.silicloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","contentUrl":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","width":1024,"height":1024,"caption":"Silicon Cloud Blog"},"image":{"@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SiliCloudGlobal\/","https:\/\/twitter.com\/SiliCloudGlobal"]},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/19a24313de9c988db3d69226b4a40a30","name":"Sophia Anderson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c726c09aa40e37115fb5c62d0c3ed62c16ca255d3763e2e3ae83a70ddf8c2175?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c726c09aa40e37115fb5c62d0c3ed62c16ca255d3763e2e3ae83a70ddf8c2175?s=96&d=mm&r=g","caption":"Sophia Anderson"},"url":"https:\/\/www.silicloud.com\/blog\/author\/sophiaanderson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/comments?post=760"}],"version-history":[{"count":0,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/760\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/media?parent=760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/categories?post=760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/tags?post=760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}