<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>啤酒钱分享网</title><link>https://www.beermoney.cn/</link><description>技术+生活经验分享</description><item><title>解决宝塔面板MySQL数据库产生mysql-bin.00000X文件导致占用磁盘空间过大的问题</title><link>https://www.beermoney.cn/?id=4</link><description>&lt;p class=&quot;liblog_4da1a_46ec2&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;在 CentOS 系统下使用宝塔面板时，出现大量 mysql-bin.000143 等文件是 MySQL 的二进制日志（binlog），主要用于数据库的主从复制、数据恢复和操作审计。以下是详细说明及解决方案：&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-image: initial; vertical-align: baseline; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;文件产生原因&lt;/h3&gt;&lt;p class=&quot;liblog_0d262_935f3&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;功能机制&lt;/p&gt;&lt;p class=&quot;liblog_e4da3_b7fbb&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;MySQL 默认开启 binlog 功能，记录所有数据库更改操作（如 INSERT、UPDATE、DELETE），每个操作生成一个日志文件（如 mysql-bin.000001）。&lt;/p&gt;&lt;p class=&quot;liblog_16790_91c5a&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;文件命名规则为 mysql-bin. + 6 位数字序号（如 mysql-bin.000143），序号随日志轮换递增。&lt;/p&gt;&lt;p class=&quot;liblog_8f14e_45fce&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;宝塔面板的默认配置&lt;/p&gt;&lt;p class=&quot;liblog_c9f0f_895fb&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;宝塔安装 MySQL 时会自动启用 binlog，并默认保留 10 天的日志（通过参数 expire_logs_days=10 控制）。&lt;/p&gt;&lt;p class=&quot;liblog_45c48_cce2e&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;日志存储路径为 /www/server/data/，频繁的数据库操作会导致日志文件快速积累并占用磁盘空间。&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-image: initial; vertical-align: baseline; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;是否可以关闭&lt;/h3&gt;&lt;p class=&quot;liblog_d3d94_46802&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;可以关闭或限制日志生成，但需根据实际需求决定：&lt;/p&gt;&lt;p class=&quot;liblog_6512b_d43d9&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;无需主从复制或数据恢复：可完全关闭 binlog 以节省磁盘空间。&lt;/p&gt;&lt;p class=&quot;liblog_c20ad_4d76f&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;需保留日志但减少占用：可缩短日志保留时间（如改为保留 3 天）。&lt;/p&gt;&lt;p class=&quot;liblog_c51ce_410c1&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;使用主从复制：关闭 binlog 会导致复制中断，需谨慎操作。&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-image: initial; vertical-align: baseline; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;关闭或管理日志的方法&lt;/h3&gt;&lt;p class=&quot;liblog_aab32_38922&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;方法 1：完全关闭 binlog（推荐无需日志的用户）&lt;/p&gt;&lt;p class=&quot;liblog_9bf31_c7ff0&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;修改 MySQL 配置文件&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;通过宝塔面板进入 MySQL 设置 → 配置文件，找到以下参数并注释（行首加 #）：&lt;/p&gt;&lt;div class=&quot;prism-show-language&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; position: relative; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;div class=&quot;prism-show-language-label&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 3px 0.5em; outline: 0px; border: 0px; vertical-align: baseline; font-size: 0.9em; color: rgb(244, 244, 244); background-color: rgb(114, 127, 153); display: flex; position: absolute; inset: 0px 0px auto auto; width: auto; height: auto; border-radius: 0px 8px 0px 5px; text-shadow: none; z-index: 1; box-shadow: none; transform: none; align-items: center;&quot;&gt;&lt;img class=&quot;copycode&quot; data-clipboard-target=&quot;undefined&quot; src=&quot;https://www.itlaoli.com/zb_system/image/admin/page_copy.png&quot; title=&quot;点击复制代码&quot; style=&quot;box-sizing: border-box; margin: 0px 3px 0px 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; height: auto; transition: all 0.3s ease-out 0s; cursor: pointer;&quot;/&gt;BASIC&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;prism-highlight prism- language-basic prism-line-numbers&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; padding: 1em 1em 1em 3.8em; outline: 0px; border-width: 0px 0px 0px 6px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(115, 127, 153); border-image: initial; vertical-align: baseline; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; background-color: rgb(51, 51, 51); width: 1068.55px; color: rgb(224, 224, 224); text-shadow: none; direction: ltr; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; overflow: auto; position: relative; counter-reset: linenumber 0;&quot;&gt;#log-bin=mysql-bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;关闭&amp;nbsp;binlog&amp;nbsp;生成
#binlog_format=mixed&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;注释日志格式&lt;/pre&gt;&lt;p class=&quot;liblog_c74d9_7b01e&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;重启 MySQL 服务&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;在宝塔面板的 MySQL 管理页面点击“重启”，或执行命令：&lt;/p&gt;&lt;div class=&quot;prism-show-language&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; position: relative; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;div class=&quot;prism-show-language-label&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 3px 0.5em; outline: 0px; border: 0px; vertical-align: baseline; font-size: 0.9em; color: rgb(244, 244, 244); background-color: rgb(114, 127, 153); display: flex; position: absolute; inset: 0px 0px auto auto; width: auto; height: auto; border-radius: 0px 8px 0px 5px; text-shadow: none; z-index: 1; box-shadow: none; transform: none; align-items: center;&quot;&gt;&lt;img class=&quot;copycode&quot; data-clipboard-target=&quot;undefined&quot; src=&quot;https://www.itlaoli.com/zb_system/image/admin/page_copy.png&quot; title=&quot;点击复制代码&quot; style=&quot;box-sizing: border-box; margin: 0px 3px 0px 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; height: auto; transition: all 0.3s ease-out 0s; cursor: pointer;&quot;/&gt;BASIC&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;prism-highlight prism- language-basic prism-line-numbers&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; padding: 1em 1em 1em 3.8em; outline: 0px; border-width: 0px 0px 0px 6px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(115, 127, 153); border-image: initial; vertical-align: baseline; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; background-color: rgb(51, 51, 51); width: 1068.55px; color: rgb(224, 224, 224); text-shadow: none; direction: ltr; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; overflow: auto; position: relative; counter-reset: linenumber 0;&quot;&gt;systemctl&amp;nbsp;restart&amp;nbsp;mysqld&lt;/pre&gt;&lt;p class=&quot;liblog_70efd_f2ec9&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;也可以在设置界面最下面找到【二进制日志】如图，关闭二进制日志即可（跟修改配置文件一样）。&lt;/p&gt;&lt;p class=&quot;liblog_fa1f9_d94f6&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506031748932705181691.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506031748932705181691.png&quot; title=&quot;解决宝塔面板MySQL数据库产生mysql-bin.00000X文件导致占用磁盘空间过大的问题 第1张&quot; alt=&quot;解决宝塔面板MySQL数据库产生mysql-bin.00000X文件导致占用磁盘空间过大的问题 第1张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_6f492_2f455&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;方法 2：自动清理日志（推荐保留日志但限制大小的用户）&lt;/p&gt;&lt;p class=&quot;liblog_1f0e3_dad99&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;缩短日志保留时间&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;在 MySQL 配置文件的 [mysqld] 段添加（宝塔面板可直接修改）：&lt;/p&gt;&lt;div class=&quot;prism-show-language&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; position: relative; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;div class=&quot;prism-show-language-label&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 3px 0.5em; outline: 0px; border: 0px; vertical-align: baseline; font-size: 0.9em; color: rgb(244, 244, 244); background-color: rgb(114, 127, 153); display: flex; position: absolute; inset: 0px 0px auto auto; width: auto; height: auto; border-radius: 0px 8px 0px 5px; text-shadow: none; z-index: 1; box-shadow: none; transform: none; align-items: center;&quot;&gt;&lt;img class=&quot;copycode&quot; data-clipboard-target=&quot;undefined&quot; src=&quot;https://www.itlaoli.com/zb_system/image/admin/page_copy.png&quot; title=&quot;点击复制代码&quot; style=&quot;box-sizing: border-box; margin: 0px 3px 0px 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; height: auto; transition: all 0.3s ease-out 0s; cursor: pointer;&quot;/&gt;BASIC&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;prism-highlight prism- language-basic prism-line-numbers&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; padding: 1em 1em 1em 3.8em; outline: 0px; border-width: 0px 0px 0px 6px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(115, 127, 153); border-image: initial; vertical-align: baseline; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; background-color: rgb(51, 51, 51); width: 1068.55px; color: rgb(224, 224, 224); text-shadow: none; direction: ltr; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; overflow: auto; position: relative; counter-reset: linenumber 0;&quot;&gt;expire_logs_days&amp;nbsp;=&amp;nbsp;3&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;保留最近&amp;nbsp;3&amp;nbsp;天的日志&lt;/pre&gt;&lt;p class=&quot;liblog_98f13_70821&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;MySQL 8.0+ 用户需改用：binlog_expire_logs_seconds = 259200（3 天=259200秒）。&lt;/p&gt;&lt;p class=&quot;liblog_3c59d_c048e&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;重启 MySQL 生效&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;修改后需重启服务（同方法 1）。&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-image: initial; vertical-align: baseline; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;清理现有文件（紧急释放磁盘空间）&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;/h3&gt;&lt;p class=&quot;liblog_b6d76_7d2f8&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;通过宝塔面板操作&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;进入 文件管理 → /www/server/data/，勾选 mysql-bin.00* 文件直接删除（需先停止 MySQL 服务）。&lt;/p&gt;&lt;p class=&quot;liblog_37693_cfc74&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;命令删除（需重启 MySQL）&lt;/p&gt;&lt;div class=&quot;prism-show-language&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; position: relative; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;div class=&quot;prism-show-language-label&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 3px 0.5em; outline: 0px; border: 0px; vertical-align: baseline; font-size: 0.9em; color: rgb(244, 244, 244); background-color: rgb(114, 127, 153); display: flex; position: absolute; inset: 0px 0px auto auto; width: auto; height: auto; border-radius: 0px 8px 0px 5px; text-shadow: none; z-index: 1; box-shadow: none; transform: none; align-items: center;&quot;&gt;&lt;img class=&quot;copycode&quot; data-clipboard-target=&quot;undefined&quot; src=&quot;https://www.itlaoli.com/zb_system/image/admin/page_copy.png&quot; title=&quot;点击复制代码&quot; style=&quot;box-sizing: border-box; margin: 0px 3px 0px 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; height: auto; transition: all 0.3s ease-out 0s; cursor: pointer;&quot;/&gt;BASIC&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;prism-highlight prism- language-basic prism-line-numbers&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; padding: 1em 1em 1em 3.8em; outline: 0px; border-width: 0px 0px 0px 6px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(115, 127, 153); border-image: initial; vertical-align: baseline; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; background-color: rgb(51, 51, 51); width: 1068.55px; color: rgb(224, 224, 224); text-shadow: none; direction: ltr; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; overflow: auto; position: relative; counter-reset: linenumber 0;&quot;&gt;systemctl&amp;nbsp;stop&amp;nbsp;mysqld
rm&amp;nbsp;-f&amp;nbsp;/www/server/data/mysql-bin.00*systemctl&amp;nbsp;start&amp;nbsp;mysqld&lt;/pre&gt;&lt;h3 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-image: initial; vertical-align: baseline; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;注意事项&lt;/h3&gt;&lt;p class=&quot;liblog_1ff1d_e7740&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;主从复制环境：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;若关闭 binlog 或执行 RESET MASTER，需确保从库已同步数据，否则会导致复制中断。&lt;/p&gt;&lt;p class=&quot;liblog_8e296_a067a&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;操作前备份：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;修改配置或删除文件前，建议通过宝塔创建 服务器快照 或 数据库备份。&lt;/p&gt;&lt;p class=&quot;liblog_4e732_ced34&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;验证生效：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;重启 MySQL 后执行以下命令确认配置：&lt;/p&gt;&lt;div class=&quot;prism-show-language&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; position: relative; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;div class=&quot;prism-show-language-label&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 3px 0.5em; outline: 0px; border: 0px; vertical-align: baseline; font-size: 0.9em; color: rgb(244, 244, 244); background-color: rgb(114, 127, 153); display: flex; position: absolute; inset: 0px 0px auto auto; width: auto; height: auto; border-radius: 0px 8px 0px 5px; text-shadow: none; z-index: 1; box-shadow: none; transform: none; align-items: center;&quot;&gt;&lt;img class=&quot;copycode&quot; data-clipboard-target=&quot;undefined&quot; src=&quot;https://www.itlaoli.com/zb_system/image/admin/page_copy.png&quot; title=&quot;点击复制代码&quot; style=&quot;box-sizing: border-box; margin: 0px 3px 0px 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; height: auto; transition: all 0.3s ease-out 0s; cursor: pointer;&quot;/&gt;BASIC&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;prism-highlight prism- language-basic prism-line-numbers&quot; data-language=&quot;BASIC&quot; style=&quot;box-sizing: border-box; padding: 1em 1em 1em 3.8em; outline: 0px; border-width: 0px 0px 0px 6px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(115, 127, 153); border-image: initial; vertical-align: baseline; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; background-color: rgb(51, 51, 51); width: 1068.55px; color: rgb(224, 224, 224); text-shadow: none; direction: ltr; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; overflow: auto; position: relative; counter-reset: linenumber 0;&quot;&gt;SHOW&amp;nbsp;VARIABLES&amp;nbsp;LIKE&amp;nbsp;&amp;#39;log_bin&amp;#39;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;--&amp;nbsp;若返回&amp;nbsp;OFF&amp;nbsp;表示已关闭
SHOW&amp;nbsp;VARIABLES&amp;nbsp;LIKE&amp;nbsp;&amp;#39;expire_logs_days&amp;#39;;&amp;nbsp;--&amp;nbsp;检查保留天数&lt;/pre&gt;&lt;h3 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-image: initial; vertical-align: baseline; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;总结建议&lt;/h3&gt;&lt;p class=&quot;liblog_02e74_f10e0&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;临时解决磁盘占满：立即用 RESET MASTER 或手动删除文件释放空间。&lt;/p&gt;&lt;p class=&quot;liblog_33e75_ff09d&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;长期优化：&lt;/p&gt;&lt;p class=&quot;liblog_6ea9a_b1baa&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;无需日志 → 完全关闭 binlog（方法 1）。&lt;/p&gt;&lt;p class=&quot;liblog_34173_cb38f&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;需日志但减少占用 → 缩短保留时间至 3~7 天（方法 2）。&lt;/p&gt;&lt;p class=&quot;liblog_c16a5_320fa&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;至此此文关于mysql binlog占用大量磁盘空间的解决方法的文章就介绍到这了，如有其他问题留言反馈，一起探讨解决方案！&lt;/p&gt;&lt;audio controls=&quot;controls&quot; style=&quot;display: none;&quot;&gt;&lt;/audio&gt;</description><pubDate>Tue, 04 Aug 2026 11:16:14 +0800</pubDate></item><item><title>解决Zblog文章中Emoji表情显示为问号的问题​</title><link>https://www.beermoney.cn/?id=3</link><description>&lt;p class=&quot;liblog_4da1a_46ec2&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;在使用&amp;nbsp;zblog&amp;nbsp;搭建的网站中，有时会遇到在文章里插入的 Emoji 表情包，在前台文章显示时变成了问号的情况。这不仅影响了文章的美观度，也可能降低用户体验。下面为大家介绍该问题的解决办法。&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;/p&gt;&lt;p class=&quot;liblog_e4da3_b7fbb&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;出现这种问题的原因是 Zblog 数据库默认的字符编码及排序规则对 Emoji 表情支持不足。Emoji 表情属于 4 字节的 Unicode 字符，而数据库中某些默认设置无法正确存储和显示它们，如图：&lt;/p&gt;&lt;p class=&quot;liblog_10cd2_fda2c&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670110192549.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670110192549.png&quot; title=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第1张&quot; alt=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第1张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_0d262_935f3&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;我们可以通过修改 Zblog 数据库中相关数据表的字段类型和排序规则来解决这个问题。具体操作可通过 Navicat 或者 PHPmyadmin 来完成。&lt;/p&gt;&lt;h4 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(255, 174, 73); border-image: initial; vertical-align: baseline; font-size: 16px; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;使用 Navicat&lt;/h4&gt;&lt;p class=&quot;liblog_16790_91c5a&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;打开 Navicat 并连接到你的 Zblog 数据库。在数据库中找到名为 “zbp_post” 的数据表，右键点击选择 “设计表”。&lt;/p&gt;&lt;p class=&quot;liblog_fa1f9_d94f6&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670749266268.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670749266268.png&quot; title=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第2张&quot; alt=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第2张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_8f14e_45fce&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;在表设计界面中，找到 “log_content” 字段。该字段用于存储文章内容，Emoji 表情就包含在其中。&lt;/p&gt;&lt;p class=&quot;liblog_c9f0f_895fb&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;将 “log_content” 字段的类型从当前设置改为 “utf8”或者“utf8_general_ci”，并将排序规则设置为 “utf8mb4_unicode_ci”。这两种设置能够更好地支持包含 Emoji 表情在内的多字节字符。&lt;/p&gt;&lt;p class=&quot;liblog_45c48_cce2e&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;点击 “保存” 按钮应用更改。&lt;/p&gt;&lt;h4 style=&quot;box-sizing: border-box; margin-top: 18px; margin-bottom: 18px; padding-top: 0px; padding-bottom: 0px; padding-left: 17px; outline: 0px; border-width: 0px 0px 0px 3px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(255, 174, 73); border-image: initial; vertical-align: baseline; font-size: 16px; color: rgb(102, 102, 102); font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-align: justify; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;使用 PHPmyadmin&lt;/h4&gt;&lt;p class=&quot;liblog_d3d94_46802&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;登录到 PHPmyadmin 管理界面。找到并选择你的 Zblog 数据库。在数据库列表中找到 “zbp_post” 表，点击进入该表的管理页面。&lt;/p&gt;&lt;p class=&quot;liblog_6512b_d43d9&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;点击页面上方的 “结构” 选项卡。找到 “log_content” 字段，点击其右侧的 “更改” 链接。&lt;/p&gt;&lt;p class=&quot;liblog_c20ad_4d76f&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670471523643.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670471523643.png&quot; title=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第3张&quot; alt=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第3张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_c51ce_410c1&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;在弹出的字段编辑页面中，将字段类型改为 “utf8”或者“utf8_general_ci”，并将排序规则设置为 “utf8mb4_unicode_ci”。点击 “保存” 按钮完成更改。&lt;/p&gt;&lt;p class=&quot;liblog_aab32_38922&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;通过以上操作，Zblog 文章中的 Emoji 表情包应该能够在前台正确显示，不再出现问号的情况，让你的文章更加生动有趣。&lt;/p&gt;&lt;p class=&quot;liblog_9bf31_c7ff0&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;/p&gt;&lt;p class=&quot;liblog_c74d9_7b01e&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670050846463.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2025/06/202506231750670050846463.png&quot; title=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第4张&quot; alt=&quot;解决Zblog文章中Emoji表情显示为问号的问题 第4张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_70efd_f2ec9&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;对了我测试了好几次，有几次需要重新编辑文章添加新的表情图标才行，不然还是问号，但是有几次直接变成图标的，这个还要根据实际情况而定，如果修改了没有变化那么就重新编辑下，好了，有问题留言反馈吧。&lt;/p&gt;&lt;audio controls=&quot;controls&quot; style=&quot;display: none;&quot;&gt;&lt;/audio&gt;</description><pubDate>Tue, 04 Aug 2026 11:12:32 +0800</pubDate></item><item><title>网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。</title><link>https://www.beermoney.cn/?id=1</link><description>&lt;p class=&quot;liblog_8f294_d6943&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;标题党怪我咯？？？这篇文章的主要目的不是真的能解决所有问题，是为了让问题具体化，按照如下教程操作，将网站的错误代码反馈给主题/插件的开发者，然后坐等解决方案即可。&lt;/p&gt;&lt;p class=&quot;liblog_e4da3_b7fbb&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;先看看正常情况下网站的打开之后显示错误的情况，如下：&lt;/p&gt;&lt;p class=&quot;liblog_fa1f9_d94f6&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295120808254.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295120808254.png&quot; title=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第1张&quot; alt=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第1张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_16790_91c5a&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;是的就是这么简简单单的一张图片，并没有具体代码，小白可能就懵圈了，什么原因？怎么回事？其实我们可以简单设置下网站，让显示错误的方式具体一点，然后丢给开发者就行了。&lt;/p&gt;&lt;p class=&quot;liblog_8f14e_45fce&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;首页打开网站设置，全局设置，然后找到如图开发模式，将其打开（on为开启状态）：&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295271258289.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295271258289.png&quot; title=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第2张&quot; alt=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第2张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_c9f0f_895fb&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; color: rgb(15, 76, 129); overflow-wrap: break-word;&quot;&gt;PS：zblogphp升级到1.7+的时候不在显示开发者模式了，而改成了“调试模式”当然也要勾选允许报Warning级别错误，如图：&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;liblog_3d144_c0827&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-indent: 0em; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2021/02/202102231614058197606596.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2021/02/202102231614058197606596.png&quot; title=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第3张&quot; alt=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第3张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;/p&gt;&lt;p class=&quot;liblog_45c48_cce2e&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;开启之后，刷新网站首页，如图：&lt;/p&gt;&lt;p class=&quot;liblog_d3d94_46802&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295374324942.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295374324942.png&quot; title=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第4张&quot; alt=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第4张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_6512b_d43d9&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;看到了吧，具体错误代码及文件出错的位置全都显示出来了，接下来就把截图丢给主题或者插件的开发者就行了。&lt;/p&gt;&lt;p class=&quot;liblog_c20ad_4d76f&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;既然都聊到这了，就顺便说下这么区分主题还是插件的问题，如图位置，/zb_user/cache/compiled/brielflee/，其中brielflee就是主题的ID名称，那么怎么区分插件呢？看图：&lt;/p&gt;&lt;p class=&quot;liblog_c51ce_410c1&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: center; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68);&quot;&gt;&lt;span class=&quot;view-image&quot; href=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295693422485.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; text-wrap: unset !important;&quot;&gt;&lt;img src=&quot;https://www.itlaoli.com/zb_users/upload/2019/09/201909241569295693422485.png&quot; title=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第5张&quot; alt=&quot;网站打开之后，主题/插件显示错误的解决办法，适用于各种BUG。 第5张&quot; class=&quot;ue-image&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; border: 0px; vertical-align: middle; max-width: 100%; transition: all 0.3s ease-out 0s; cursor: zoom-in; height: auto !important; width: auto !important;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;liblog_aab32_38922&quot; style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px; outline: 0px; border: 0px; vertical-align: baseline; font-size: 16px; line-height: 1.75; position: relative; color: rgb(63, 63, 63); text-align: justify; font-family: HarmonyOS_Sans_SC, -apple-system, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.68); text-indent: 2em;&quot;&gt;图中的位置/zb_users/plugin/CommentUA/，其中/plugin/是插件的目录，而/CommentUA/是指插件的ID，其实很简单，只要看/zb_user/后面的是不是/plugin/就行，是的话就是插件问题，不是的话基本都是主题导致的错误。&lt;/p&gt;&lt;audio controls=&quot;controls&quot; style=&quot;display: none;&quot;&gt;&lt;/audio&gt;&lt;audio controls=&quot;controls&quot; style=&quot;display: none;&quot;&gt;&lt;/audio&gt;&lt;audio controls=&quot;controls&quot; style=&quot;display: none;&quot;&gt;&lt;/audio&gt;</description><pubDate>Thu, 06 May 2021 14:16:59 +0800</pubDate></item></channel></rss>