{"id":418,"date":"2022-07-09T12:48:38","date_gmt":"2022-07-09T12:48:38","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=418"},"modified":"2022-07-20T16:27:48","modified_gmt":"2022-07-20T16:27:48","slug":"installing-mysql-on-centos-rhel-7-6-fedora-31-30","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/","title":{"rendered":"Installing MySQL on CentOS\/Redhat 7\/6 &#038; Fedora 31\/30"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en.jpg\" alt=\"Installing MySQL on CentOS\/Fedora\" class=\"wp-image-810\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><figcaption>MySQL on CentOS\/RHEL 7\/6 &amp; Fedora 31\/30<\/figcaption><\/figure>\n\n\n\n<p>MySQL is an open source relational database management system (RDBMS) with a client-server architecture. <a href=\"https:\/\/en.wikipedia.org\/wiki\/Relational_database_management_system\" target=\"_blank\" rel=\"noreferrer noopener\">RDBMS<\/a>\u00a0is a software or service used to create and manage databases based on a relational model.\u00a0<\/p>\n\n\n\n<p>This&nbsp;guide&nbsp;will&nbsp;show&nbsp;you&nbsp;how&nbsp;to&nbsp;install&nbsp;MySQL&nbsp;Server&nbsp;(Community&nbsp;Edition) using&nbsp;the&nbsp;default&nbsp;package&nbsp;manager&nbsp;on&nbsp;CentOS\/RHEL&nbsp;7\/6,&nbsp;Fedora&nbsp;31\/30\/29.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Yum Repository Configuration<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">### On CentOS\/RHEL 7 system ###\nrpm -Uvh https:\/\/repo.mysql.com\/mysql80-community-release-el7-3.noarch.rpm\n-------------------------------------------\n### On CentOS\/RHEL 6 system ###\nrpm -Uvh https:\/\/repo.mysql.com\/mysql80-community-release-el6-3.noarch.rpm\n-------------------------------------------\n### On Fedora 32 system ###\nrpm -Uvh https:\/\/repo.mysql.com\/mysql80-community-release-fc32-1.noarch.rpm\n-------------------------------------------\n### On Fedora 31 system ###\nrpm -Uvh https:\/\/repo.mysql.com\/mysql80-community-release-fc31-1.noarch.rpm\n-------------------------------------------\n### On Fedora 30 system ###\nrpm -Uvh https:\/\/repo.mysql.com\/mysql80-community-release-fc30-1.noarch.rpm<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Install MySQL Community Server<\/h2>\n\n\n\n<p>MySQL&nbsp;yum&nbsp;includes&nbsp;numerous&nbsp;repository&nbsp;configurations&nbsp;for&nbsp;various&nbsp;MySQL&nbsp;versions.&nbsp;<\/p>\n\n\n\n<p>So,&nbsp;in&nbsp;the&nbsp;MySQL&nbsp;repo&nbsp;file,&nbsp;first&nbsp;deactivate&nbsp;all&nbsp;repositories.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sed -i 's\/enabled=1\/enabled=0\/' \/etc\/yum.repos.d\/mysql-community.repo<\/code><\/pre>\n\n\n\n<p>Then, depending on your operating system, use one of the following instructions to install MySQL.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">CentOS &amp; Red Hat<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ yum --enablerepo=mysql57-community install mysql-community-server<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Fedora Systems<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ dnf --enablerepo=mysql57-community install mysql-community-server<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Start MySQL Service<\/h2>\n\n\n\n<p>To start the MySQL server, we can use <kbd>services<\/kbd> or <kbd>systemctl<\/kbd> command<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Using SysVinit<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ service mysqld start<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Using Systemd<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ systemctl start mysqld.service<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Find MySQL root Password<\/h2>\n\n\n\n<p>During the installation of MySQL 5.7, a temporary password for the user root MySQL is created. The temporary password generated can be found in the log files.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ grep \"A temporary password\" \/var\/log\/mysqld.log<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><kbd>Output :<\/kbd><\/p><cite>[Note] A temporary password is generated for root@server: <strong>Hsb65pdh@t1a6<\/strong><\/cite><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: MySQL Post Install Setup<\/h2>\n\n\n\n<p>Run the MySQL secure installation command <kbd>mysql_secure_installation<\/kbd> to secure the MySQL server after the initial installation. We recommend saying &#8220;yes&#8221; (y) to each of the questions it will ask.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ mysql_secure_installation<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><kbd>Output :<\/kbd><\/h5>\n\n\n\n<pre class=\"wp-block-preformatted\">Enter password for user root:\n\nThe existing password for the user account root has expired. Please set a new password.\n\nNew password:\n\nRe-enter new password:\nThe 'validate_password' plugin is installed on the server.\nThe subsequent steps will run with the existing configuration\nof the plugin.\nUsing existing password for root.\n\nEstimated strength of the password: 100\nChange the password for root ? y\n\nBy default, a MySQL installation has an anonymous user,\nallowing anyone to log into MySQL without having to have\na user account created for them. This is intended only for\ntesting, and to make the installation go a bit smoother.\nYou should remove them before moving into a production\nenvironment.\n\nRemove anonymous users? y\nSuccess.\n\n\nNormally, root should only be allowed to connect from\n'localhost'. This ensures that someone cannot guess at\nthe root password from the network.\n\nDisallow root login remotely? y\nSuccess.\n\nBy default, MySQL comes with a database named 'test' that\nanyone can access. This is also intended only for testing,\nand should be removed before moving into a production\nenvironment.\n\n\nRemove test database and access to it? y\n\u2014 Dropping test database\u2026\nSuccess.\n\n\u2014 Removing privileges on test database\u2026\nSuccess.\n\nReloading the privilege tables will ensure that all changes\nmade so far will take effect immediately.\n\nReload privilege tables now? y\nSuccess.\n\nAll done!<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Restart and Enable MySQL Service<\/h2>\n\n\n\n<p>Once you&#8217;ve done installing MySQL and configuring the basic options, restart the MySQL service using the following command.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Using SysVinit<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ service mysqld restart<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Using Systemd<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ systemctl restart mysqld.service<\/code><\/pre>\n\n\n\n<p>Moreover, use the following command to enable automatic service startup upon system boot.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">### Using SysVinit\nchkconfig mysqld on\n\n### Using Systemd\nsystemctl enable mysqld.service<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7: Working with MySQL<\/h2>\n\n\n\n<p>Now let&#8217;s connect to the MySQL database server, type the new password when prompted<\/p>\n\n\n\n<p>let&#8217;s run&nbsp;some SQL&nbsp;statements.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">### CREATE DATABASE\nmysql&gt; CREATE DATABASE DBTest;\n \n### CREATE USER ACCOUNT\nmysql&gt; CREATE USER 'dbtestuser'@'192.168.10.101' IDENTIFIED BY 'secretPass';\n \n### GRANT PERMISSIONS ON DATABASE\nmysql&gt; GRANT ALL ON DBTest.* TO 'dbtestuser'@'192.168.1.100';\n \n###  RELOAD PRIVILEGES\nmysql&gt; FLUSH PRIVILEGES;<\/pre>\n\n\n\n<p>Congratulations! MySQL server has been successfully installed on your machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction MySQL is an open source relational database management system (RDBMS) with a client-server architecture. RDBMS\u00a0is a software or service used to create and manage databases based on a relational model.\u00a0 This&nbsp;guide&nbsp;will&nbsp;show&nbsp;you&nbsp;how&nbsp;to&nbsp;install&nbsp;MySQL&nbsp;Server&nbsp;(Community&nbsp;Edition) using&nbsp;the&nbsp;default&nbsp;package&nbsp;manager&nbsp;on&nbsp;CentOS\/RHEL&nbsp;7\/6,&nbsp;Fedora&nbsp;31\/30\/29. Step 1: Yum Repository Configuration Step 2: Install MySQL Community Server MySQL&nbsp;yum&nbsp;includes&nbsp;numerous&nbsp;repository&nbsp;configurations&nbsp;for&nbsp;various&nbsp;MySQL&nbsp;versions.&nbsp; So,&nbsp;in&nbsp;the&nbsp;MySQL&nbsp;repo&nbsp;file,&nbsp;first&nbsp;deactivate&nbsp;all&nbsp;repositories. Then, depending on your operating system, use one of ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[57,69],"tags":[],"yoast_head":"\n<title>Installing MySQL on CentOS\/Redhat 7\/6 &amp; Fedora 31\/30 - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"This\u00a0guide\u00a0will\u00a0show\u00a0you\u00a0how\u00a0to\u00a0install\u00a0MySQL\u00a0Server\u00a0(Community\u00a0Edition) using\u00a0the\u00a0default\u00a0package\u00a0manager\u00a0on\u00a0CentOS\/RHEL\u00a07\/6,\u00a0Fedora\u00a031\/30\/29.\" \/>\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.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing MySQL on CentOS\/Redhat 7\/6 &amp; Fedora 31\/30 - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"This\u00a0guide\u00a0will\u00a0show\u00a0you\u00a0how\u00a0to\u00a0install\u00a0MySQL\u00a0Server\u00a0(Community\u00a0Edition) using\u00a0the\u00a0default\u00a0package\u00a0manager\u00a0on\u00a0CentOS\/RHEL\u00a07\/6,\u00a0Fedora\u00a031\/30\/29.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-09T12:48:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-20T16:27:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"Installing MySQL on CentOS\/Redhat 7\/6 &#038; Fedora 31\/30\",\"datePublished\":\"2022-07-09T12:48:38+00:00\",\"dateModified\":\"2022-07-20T16:27:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\"},\"wordCount\":332,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Databases\",\"Linux system administration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\",\"name\":\"Installing MySQL on CentOS\/Redhat 7\/6 & Fedora 31\/30 - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2022-07-09T12:48:38+00:00\",\"dateModified\":\"2022-07-20T16:27:48+00:00\",\"description\":\"This\u00a0guide\u00a0will\u00a0show\u00a0you\u00a0how\u00a0to\u00a0install\u00a0MySQL\u00a0Server\u00a0(Community\u00a0Edition) using\u00a0the\u00a0default\u00a0package\u00a0manager\u00a0on\u00a0CentOS\/RHEL\u00a07\/6,\u00a0Fedora\u00a031\/30\/29.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing MySQL on CentOS\/Redhat 7\/6 &#038; Fedora 31\/30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"Installing MySQL on CentOS\/Redhat 7\/6 & Fedora 31\/30 - WebHi Tutorials &amp; Documentations","description":"This\u00a0guide\u00a0will\u00a0show\u00a0you\u00a0how\u00a0to\u00a0install\u00a0MySQL\u00a0Server\u00a0(Community\u00a0Edition) using\u00a0the\u00a0default\u00a0package\u00a0manager\u00a0on\u00a0CentOS\/RHEL\u00a07\/6,\u00a0Fedora\u00a031\/30\/29.","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.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/","og_locale":"en_US","og_type":"article","og_title":"Installing MySQL on CentOS\/Redhat 7\/6 & Fedora 31\/30 - WebHi Tutorials &amp; Documentations","og_description":"This\u00a0guide\u00a0will\u00a0show\u00a0you\u00a0how\u00a0to\u00a0install\u00a0MySQL\u00a0Server\u00a0(Community\u00a0Edition) using\u00a0the\u00a0default\u00a0package\u00a0manager\u00a0on\u00a0CentOS\/RHEL\u00a07\/6,\u00a0Fedora\u00a031\/30\/29.","og_url":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2022-07-09T12:48:38+00:00","article_modified_time":"2022-07-20T16:27:48+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_centos_fedora-en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"Installing MySQL on CentOS\/Redhat 7\/6 &#038; Fedora 31\/30","datePublished":"2022-07-09T12:48:38+00:00","dateModified":"2022-07-20T16:27:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/"},"wordCount":332,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Databases","Linux system administration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/","url":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/","name":"Installing MySQL on CentOS\/Redhat 7\/6 & Fedora 31\/30 - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2022-07-09T12:48:38+00:00","dateModified":"2022-07-20T16:27:48+00:00","description":"This\u00a0guide\u00a0will\u00a0show\u00a0you\u00a0how\u00a0to\u00a0install\u00a0MySQL\u00a0Server\u00a0(Community\u00a0Edition) using\u00a0the\u00a0default\u00a0package\u00a0manager\u00a0on\u00a0CentOS\/RHEL\u00a07\/6,\u00a0Fedora\u00a031\/30\/29.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"Installing MySQL on CentOS\/Redhat 7\/6 &#038; Fedora 31\/30"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/418"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":37,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/418\/revisions\/1343"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}