<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MySQL on DBA学习笔记</title><link>https://blog.zhangjt.fun/tags/mysql/</link><description>Recent content in MySQL on DBA学习笔记</description><generator>Hugo</generator><language>zh-cn</language><managingEditor>281304173@qq.com (张天师)</managingEditor><webMaster>281304173@qq.com (张天师)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Tue, 20 Oct 2026 17:21:57 +0800</lastBuildDate><atom:link href="https://blog.zhangjt.fun/tags/mysql/index.xml" rel="self" type="application/rss+xml"/><item><title>MySQL在线更改Binlog目录</title><link>https://blog.zhangjt.fun/online-change-binlog-dir/</link><pubDate>Fri, 20 May 2022 22:07:16 +0800</pubDate><author>281304173@qq.com (张天师)</author><guid>https://blog.zhangjt.fun/online-change-binlog-dir/</guid><description>&lt;h2 id="背景" class="headerLink">
 &lt;a href="#%e8%83%8c%e6%99%af" class="header-mark">&lt;/a>1. 背景&lt;/h2>&lt;p>线上使用共享表空间，因共享表空间没办法释放，导致磁盘可用空间太小，所以新找几台机器，重新导出导入，将业务迁移到新机器上。&lt;br>
因需要从备机导数据，需要保留binlog个数不固定，为避免导数机器被binlog撑满，将其他磁盘的目录挂载到binlog目录。&lt;/p></description></item><item><title>MySQL搭建Group Replicatiion</title><link>https://blog.zhangjt.fun/install-mysql-group-replication/</link><pubDate>Fri, 20 May 2022 15:55:22 +0800</pubDate><author>281304173@qq.com (张天师)</author><guid>https://blog.zhangjt.fun/install-mysql-group-replication/</guid><description>&lt;h2 id="1-安装mysq5719" class="headerLink">
 &lt;a href="#1-%e5%ae%89%e8%a3%85mysq5719" class="header-mark">&lt;/a>9. 1. 安装MySQ(&amp;gt;=5.7.19)&lt;/h2>&lt;p>具体安装方法，请&lt;a href="http://www.baidu.com" target="_blank" rel="noopener noreferrer">百度&lt;/a>或&lt;a href="http://www.google.com" target="_blank" rel="noopener noreferrer">Google&lt;/a>&lt;/p>
&lt;h2 id="2-gr准备工作" class="headerLink">
 &lt;a href="#2-gr%e5%87%86%e5%a4%87%e5%b7%a5%e4%bd%9c" class="header-mark">&lt;/a>10. 2. GR准备工作&lt;/h2>&lt;h3 id="1-更改配置文件" class="headerLink">
 &lt;a href="#1-%e6%9b%b4%e6%94%b9%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6" class="header-mark">&lt;/a>10.1. 1. 更改配置文件&lt;/h3>&lt;blockquote>
&lt;p>&lt;code>loose-&lt;/code>为配置前缀，后边才是变量名。
正常情况下配置文件里参数是必须可用的，也就是必须先安装插件，后改配置文件，否则MySQL启动时会报错。加&lt;code>loose-&lt;/code>前缀后，如果参数不存在，会先忽略报错，待插件安装后，会自动将对应参数设置为配置文件的值。&lt;/p></description></item></channel></rss>