<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>MySQL on THYOU 小站</title>
    <link>https://thyou.site/series/mysql/</link>
    <description>Recent content in MySQL on THYOU 小站</description>
    <generator>Hugo -- 0.157.0</generator>
    <language>zh-CN</language>
    <lastBuildDate>Sun, 22 Mar 2026 00:21:32 +0800</lastBuildDate>
    <atom:link href="https://thyou.site/series/mysql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CentOS 7 安装MySQL教程</title>
      <link>https://thyou.site/posts/post_260322_01/</link>
      <pubDate>Sun, 22 Mar 2026 00:21:32 +0800</pubDate>
      <guid>https://thyou.site/posts/post_260322_01/</guid>
      <description>&lt;h3 id=&#34;1下载安装包&#34;&gt;1、下载安装包&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;sudo wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;1774108364716&#34; decoding=&#34;async&#34; loading=&#34;lazy&#34; src=&#34;https://thyou.site/posts/260322_01/res/1774108364716.png&#34; style=&#34;max-width: 100%; height: auto;&#34;&gt;&lt;/p&gt;
&lt;h3 id=&#34;2开始安装&#34;&gt;2、开始安装&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;sudo yum -y install mysql57-community-release-el7-10.noarch.rpm&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&#34;3安装服务端&#34;&gt;3、安装服务端&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;sudo yum -y install mysql-community-server&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;1774108286010&#34; decoding=&#34;async&#34; loading=&#34;lazy&#34; src=&#34;https://thyou.site/posts/260322_01/res/1774108286010.png&#34; style=&#34;max-width: 100%; height: auto;&#34;&gt;&lt;/p&gt;
&lt;p&gt;安装过程中出现以上报错情况（不同的环境可能不太一样），可参考如下解决方法：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;报错1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;错误：软件包：akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda) 需要：mariadb-server 正在删除: 1:mariadb-server-5.5.68-1.el7.x86_64 (@anaconda) mariadb-server = 1:5.5.68-1.el7 取代，由: mysql-community-server-5.7.41-1.el7.x86_64 (mysql57-community) 未找到 您可以尝试添加 --skip-broken 选项来解决该问题&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
