<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>晓云网络 - MySql</title>
    <link>https://bbs.zp68.com/forum-49-1.html</link>
    <description>Latest 20 threads of MySql</description>
    <copyright>Copyright(C) 晓云网络</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 20 Jun 2026 19:15:16 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://bbs.zp68.com/static/image/common/logo_88_31.gif</url>
      <title>晓云网络</title>
      <link>https://bbs.zp68.com/</link>
    </image>
    <item>
      <title>win系统 root密码找回</title>
      <link>https://bbs.zp68.com/thread-26-1-1.html</link>
      <description><![CDATA[1.cmd进入 D:\\host\\MySQL\\bin 目录

2.执行 mysqld-nt --skip-grant-tables; 或 mysqld --skip-grant-tables;   进入安全模式


3.重新打开一个cmd命令提示符窗口执行 mysql -uroot -p;  然后提示输入密码，不用输入密码，直接按回车键。


4.输入以下命令开始修改超级 ...]]></description>
      <category>MySql</category>
      <author>admin</author>
      <pubDate>Mon, 02 Nov 2020 03:54:33 +0000</pubDate>
    </item>
    <item>
      <title>MySQL字符串的拼接、截取、替换、查找位置</title>
      <link>https://bbs.zp68.com/thread-23-1-1.html</link>
      <description><![CDATA[MySQL字符串的拼接、截取、替换、查找位置。

常用的字符串函数：

函数]]></description>
      <category>MySql</category>
      <author>yxrj</author>
<enclosure url="/forum/返回连接参数产生的字符串，一个或多个待拼接的内容，任意一个为NULL则返回值为NULL。
CONCAT_WS(x,s1,s2,...)" length="返回多个字符串拼接之后的字符串，每个字符串之间有一个x ..." type="image/jpeg" />      <pubDate>Sun, 12 Apr 2020 05:02:06 +0000</pubDate>
    </item>
    <item>
      <title>MYSQL性能优化之子查询</title>
      <link>https://bbs.zp68.com/thread-22-1-1.html</link>
      <description><![CDATA[有时候表大的情况下直接查询会影响查询性能。我们可以先查询出来索引，再利用索引子查询记录。这样可以大大提升性能。

SELECT fl.*,u.username FROM  files fl,users u  WHERE  fl.file_id IN( SELECT file_id FROM (SELECT file_id FROM `files` WHERE  is_del=0 ORDE ...]]></description>
      <category>MySql</category>
      <author>yxrj</author>
      <pubDate>Sun, 12 Apr 2020 03:06:47 +0000</pubDate>
    </item>
    <item>
      <title>MySQL配置主主同步(master-master)</title>
      <link>https://bbs.zp68.com/thread-21-1-1.html</link>
      <description><![CDATA[MySQL主主同步跟MySQL主从同步类似，只是再另一台上反向再做一次主从同步。
只不过MySQL的配置文件有些地方需要注意一下。
实验环境



名称
IP地址
系统版本
MySQL版本




testA
192.168.1.235
CentOS 6.5
mysql-5.7.13


testB
192.168.1.237
CentOS 6.5
mysql-5.7.1 ...]]></description>
      <category>MySql</category>
      <author>yxrj</author>
      <pubDate>Thu, 26 Mar 2020 02:50:37 +0000</pubDate>
    </item>
    <item>
      <title>MySQL两主（多主）多从架构配置</title>
      <link>https://bbs.zp68.com/thread-20-1-1.html</link>
      <description><![CDATA[一、角色划分1、MySQL数据库规划我现在的环境是：zhdy04和zhdy05已经做好了主主架构配置，现在需要的是把两台或者多台从服务器与主一一同步。如果搭建主主环境，参照此链接！主机名IP 地址角色Mysql_server_idzhdy04192.168.230.145masterA145zhdy05192.168.230.146mast ...]]></description>
      <category>MySql</category>
      <author>yxrj</author>
      <pubDate>Thu, 26 Mar 2020 02:22:04 +0000</pubDate>
    </item>
    <item>
      <title>MySql-CPU过高处理-开启MySQL慢查询日志</title>
      <link>https://bbs.zp68.com/thread-17-1-1.html</link>
      <description><![CDATA[开启MySQL慢查询日志sudo nano /etc/mysql/my.cnflog_slow_queries = /var/log/mysql/slow.sqllong_query_time = 0.5log-queries-not-using-indexes #不使用索引,这句可以不用sudo service mysql restartshow variables like \&quot;%slow%\&quot;; 查看慢查询相关配置SELECT SLEEP( ...]]></description>
      <category>MySql</category>
      <author>yxrj</author>
      <pubDate>Sat, 21 Mar 2020 11:18:28 +0000</pubDate>
    </item>
  </channel>
</rss>