<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Docs</title>
        <description>Forum for ideas and feedback on MySQL Docs and translations.</description>
        <link>https://forums.mysql.com/list.php?12</link>
        <lastBuildDate>Mon, 20 Apr 2026 22:48:43 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?12,741067,741067#msg-741067</guid>
            <title>Employees sample database (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,741067,741067#msg-741067</link>
            <description><![CDATA[ <a href="https://dev.mysql.com/doc/employee/en/sakila-structure.html"  rel="nofollow">https://dev.mysql.com/doc/employee/en/sakila-structure.html</a><br />
<br />
The primary key of the departments table in the image on this page is written as dept_name, but it should actually be dept_no]]></description>
            <dc:creator>Bob Smith</dc:creator>
            <category>Docs</category>
            <pubDate>Sat, 01 Nov 2025 18:25:19 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,739898,739898#msg-739898</guid>
            <title>MySql Next-Key Lock Behavior (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,739898,739898#msg-739898</link>
            <description><![CDATA[ Regarding the official document version 8.4. Why Next-key behaves like this? &quot;a next-key lock is an index-record lock plus a gap lock on the gap preceding the index record. &quot; For example, I have index on id, query select * from table where id &gt; 3 for update. Other sessions can&#039;t insert id = 3. I understand that (2, 3] is the gap preceding the index record but I don&#039;t understand why this record need to be locked. Please explain this.]]></description>
            <dc:creator>Bill Wen</dc:creator>
            <category>Docs</category>
            <pubDate>Mon, 23 Dec 2024 14:46:21 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,739564,739564#msg-739564</guid>
            <title>Error in MySQL documentation JSON_VALUE (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,739564,739564#msg-739564</link>
            <description><![CDATA[ The documentation is incorrect in that is states the following 2 statements are equivalent.<br />
<br />
SELECT JSON_VALUE(json_doc, path RETURNING type);<br />
SELECT CAST(JSON_UNQUOTE(JSON_EXTRACT(json_doc, path)) AS type);<br />
<br />
This is incorrect due to how JSON_EXTRACT and JSON_VALUE treat null values differently. This can be easily shown:<br />
<br />
SET @object = JSON_OBJECT(&#039;index&#039;, null);<br />
<br />
SELECT JSON_VALUE(@object, &#039;$.index&#039; RETURNING char);<br />
SELECT CAST(JSON_UNQUOTE(JSON_EXTRACT(@object, &#039;$.index&#039;)) AS char);]]></description>
            <dc:creator>Derek Wolfe</dc:creator>
            <category>Docs</category>
            <pubDate>Wed, 27 Nov 2024 20:08:38 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,730566,730566#msg-730566</guid>
            <title>GET DIAGNOSTICS CONDITION 1 returns erroneous info - Big Issue (3 replies)</title>
            <link>https://forums.mysql.com/read.php?12,730566,730566#msg-730566</link>
            <description><![CDATA[ I&#039;ve used Oracle databases since 1998 and recently started big project with MySQL database. When I began migrating database schemas and learning MySQL I was used:<br />
<br />
DECLARE EXIT HANDLER FOR SQLEXCEPTION <br />
 BEGIN<br />
  GET DIAGNOSTICS CONDITION 1 e1 = MYSQL_ERRNO, e2 = MESSAGE_TEXT, e3 = RETURNED_SQLSTATE, e4 = SCHEMA_NAME, e5 = CATALOG_NAME;<br />
 SELECT e1, e2, e3, e4, e5;<br />
 END;<br />
<br />
To understand issues I was having. Now much more advanced in MySQL knowledge I realize there is a &quot;BIG ISSUE&quot; with data returned. Verbiage is being added to the MESSAGE_TEXT variable when an error is unknown to MySQL.<br />
<br />
I have a Stored Function which checks for conditions before running import process. I am pasting a snippet of One of the conditions:<br />
<br />
  IF importFileName IS NULL THEN<br />
  -- This is an error. Import File must be in table when import processing.<br />
    SET processFile = 0;<br />
    SIGNAL SQLSTATE<br />
      &#039;45000&#039;<br />
    SET<br />
      MESSAGE_TEXT = `Import File is not found in import_file table. An error has happened.`,<br />
      MYSQL_ERRNO = ER_SIGNAL_EXCEPTION;<br />
This is simple and raises an error in the store procedure&#039;s - DECLARE EXIT HANDLER FOR SQLEXCEPTION<br />
<br />
Here is the BIG ISSUE. Below is the error message returned from the code above.<br />
<br />
&#039;Unknown column &#039;&#039;Import File is not found in import_file table. An error has happened.&#039;&#039; in &#039;&#039;field list&#039;&#039;&#039;<br />
<br />
No where in my code to I ever say &#039;Unknown column&#039; or &#039; in &#039;field list&#039;&#039;<br />
<br />
MySQL inserted that verbiage into my error message. It does not matter what value I place in SQLSTATE or MYSQL_ERRNO before issuing SIGNAL. MySQL is still replacing MYSQL_ERRNO with 1054 and wraps MESSAGE_TEXT with verbiage &#039;Unknow column&#039; and &#039; in &#039;field list&#039;&#039; on each side.<br />
<br />
When I was learning MySQL that inserted message and FALSE MYSQL_ERRNO value had me spend HOURS and HOURS looking for a problem that did not exist. It almost had me talk the client out of using MySQL for the project. <br />
<br />
I don&#039;t know who is responsible for this HUGE ISSUE but they should be FIRED!]]></description>
            <dc:creator>William Donaldson</dc:creator>
            <category>Docs</category>
            <pubDate>Sat, 01 Nov 2025 18:24:26 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,725083,725083#msg-725083</guid>
            <title>sp cache (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,725083,725083#msg-725083</link>
            <description><![CDATA[ I want to know &quot;To avoid problems caused by metadata changes to tables or views referred to by the prepared statement, the server detects these changes and automatically reprepares the statement when it is next executed. That is, the server reparses the statement and rebuilds the internal structure. Reparsing also occurs after referenced tables or views are flushed from the table definition cache, either implicitly to make room for new entries in the cache, or explicitly due to FLUSH TABLES.<br />
<br />
Similarly, if changes occur to objects used by a stored program, the server reparses affected statements within the program.&quot; how these words work in mysql codes? Actually i do not see the processing logic of the dependency of sp object,could you please explain it to me or point the core codes for me?]]></description>
            <dc:creator>James jia james</dc:creator>
            <category>Docs</category>
            <pubDate>Tue, 09 Jul 2024 08:59:25 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,724330,724330#msg-724330</guid>
            <title>[Documentation]Question about Atomic Data Definition Statement Support (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,724330,724330#msg-724330</link>
            <description><![CDATA[ &quot;RENAME TABLE operations are only atomic if all named tables use an atomic DDL-supported storage engine.&quot;<br />
The above statement appears in the &quot; Atomic Data Definition Statement Support&quot; document, and I think there is a problem. It should be that &quot;RENAME TABLE operations are only atomic if all named tables use an atomic DDL-unsupported storage engine&quot;]]></description>
            <dc:creator>akki An</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 16 May 2024 18:47:08 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,722927,722927#msg-722927</guid>
            <title>restore backup troubles mysqlbackup (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,722927,722927#msg-722927</link>
            <description><![CDATA[ Hello everyone. Need help please. Backup from previous employer was made with mysqbackup 8.0.26 from enterprise supbscription (meb 8.0.26). Now I don&#039;t have this version and official site does not provide meb version 8.0.26 binary. Backup made with meb 8.0.26 doesn&#039;t work with further versions like mysqlbackup 8.0.36. What should i do? I can&#039;t create new backup, because our db was broken and I cant restore it with mysqlbackup 8.0.36 that is provided by official site, because need mysqlbackup 8.0.26]]></description>
            <dc:creator>Tong Li</dc:creator>
            <category>Docs</category>
            <pubDate>Wed, 21 Feb 2024 10:28:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,722926,722926#msg-722926</guid>
            <title>restore backip troupes (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,722926,722926#msg-722926</link>
            <description><![CDATA[ Hello everyone. Need help please. Backup from previous employer was made with mysqbackup 8.0.26 from enterprise supbscription (meb 8.0.26). Now I don&#039;t have this version and official site does not provide meb version 8.0.26 binary. Backup made with meb 8.0.26 doesn&#039;t work with further versions like mysqlbackup 8.0.36. What should i do? I can&#039;t create new backup, because our db was broken and I cant restore it with mysqlbackup 8.0.36 that is provided by official site.]]></description>
            <dc:creator>Tong Li</dc:creator>
            <category>Docs</category>
            <pubDate>Wed, 21 Feb 2024 10:24:47 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,712155,712155#msg-712155</guid>
            <title>MySQL5.7、8.0  InnoDB在 REPEATABLE-READ隔离级别下幻读问题 (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,712155,712155#msg-712155</link>
            <description><![CDATA[ 前提条件：<br />
mysql5.7 Or 8.0 版本都存在此问题。存储引擎是：InnoDb，事务隔离级别是：REPEATABLE-READ<br />
  <br />
表结构、数据：<br />
CREATE TABLE `test` (<br />
                        `a` int(4) NOT NULL,<br />
                        `b` int(10) DEFAULT NULL,<br />
                        PRIMARY KEY (`a`),<br />
                        KEY `test_b_index` (`b`)<br />
);<br />
insert into  test values (1, 1), (2, 3), (3, 6), (4, 8);<br />
<br />
<br />
事务A: start transaction; select * from test order by a;                  # 先读取整个表的数据（生成MVCC快照），只能读取到 a=1、2、3、4的数据<br />
事务B: start transaction; insert into  test values (5, 7); commit;<br />
事务A: select * from test order by a;                                     # 由于快照已生成，所以查询不到新插入的a=5的数据<br />
事务A: update test set b = 6 where b &gt; 6;                                 # 由于快照已生成，所以查询不到新插入的a=5的数据<br />
事务A: select * from test order by a; rollback;                           # 能够正常读取到数据 a=5<br />
<br />
猜测原因：事务A的更新语句，更改了数据 a=5 的隐藏字段 DB_TRX_ID，上一次修改改数据的事务id，改成了事务A自己的事务id，所以事务A能够查询到新增数据了。<br />
如果是以上原因，我存在疑问的是：事务A的事务id应该比事务B的事务id小，所以不应该让事务A更新到事务B新增的数据]]></description>
            <dc:creator>lk lk</dc:creator>
            <category>Docs</category>
            <pubDate>Fri, 29 Dec 2023 07:52:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,712039,712039#msg-712039</guid>
            <title>Feedback Report on re-prepare statement not work after renaming table (2 replies)</title>
            <link>https://forums.mysql.com/read.php?12,712039,712039#msg-712039</link>
            <description><![CDATA[ Dear mysql<br />
   After reading &quot;Caching of Prepared Statements and Stored Programs&quot;, I understand that renaming a table name will recompile the prepared statement, but I tested in the mysql-8.2.0 environment and found that the prepared statement was not recompiled after renaming. Is the documentation wrong?]]></description>
            <dc:creator>yadong zhang</dc:creator>
            <category>Docs</category>
            <pubDate>Wed, 23 Oct 2024 09:06:34 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,710385,710385#msg-710385</guid>
            <title>How can I download the html version of MySQL reference manual? (3 replies)</title>
            <link>https://forums.mysql.com/read.php?12,710385,710385#msg-710385</link>
            <description><![CDATA[ I don&#039;t like pdf format.]]></description>
            <dc:creator>Jun Lai</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 22 Feb 2024 05:09:17 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,709842,709842#msg-709842</guid>
            <title>fix some typo in world.sql (2 replies)</title>
            <link>https://forums.mysql.com/read.php?12,709842,709842#msg-709842</link>
            <description><![CDATA[ 1.<br />
Please change in world.sql next lines<br />
<br />
INSERT INTO `city` VALUES (144,&#039;Baku&#039;,&#039;AZE&#039;,&#039;Baki&#039;,1787800);<br />
INSERT INTO `city` VALUES (145,&#039;Gäncä&#039;,&#039;AZE&#039;,&#039;Gäncä&#039;,299300);<br />
INSERT INTO `city` VALUES (146,&#039;Sumqayit&#039;,&#039;AZE&#039;,&#039;Sumqayit&#039;,283000);<br />
INSERT INTO `city` VALUES (147,&#039;Mingäçevir&#039;,&#039;AZE&#039;,&#039;Mingäçevir&#039;,93900);<br />
<br />
INSERT INTO `country` VALUES (&#039;AZE&#039;,&#039;Azerbaijan&#039;,&#039;Asia&#039;,&#039;Middle East&#039;,86600.00,1991,7734000,62.9,4127.00,4100.00,&#039;Azärbaycan&#039;,&#039;Federal Republic&#039;,&#039;Heydär Äliyev&#039;,144,&#039;AZ&#039;);<br />
<br />
<br />
to<br />
<br />
<br />
INSERT INTO `city` VALUES (144,&#039;Bakı&#039;,&#039;AZE&#039;,&#039;Bakı&#039;,1787800);<br />
INSERT INTO `city` VALUES (145,&#039;Gəncə&#039;,&#039;AZE&#039;,&#039;Gəncə&#039;,299300);<br />
INSERT INTO `city` VALUES (146,&#039;Sumqayıt&#039;,&#039;AZE&#039;,&#039;Sumqayıt&#039;,283000);<br />
INSERT INTO `city` VALUES (147,&#039;Mingəçevir&#039;,&#039;AZE&#039;,&#039;Mingəçevir&#039;,93900);<br />
<br />
INSERT INTO `country` VALUES (&#039;AZE&#039;,&#039;Azerbaijan&#039;,&#039;Asia&#039;,&#039;Middle East&#039;,86600.00,1991,7734000,62.9,4127.00,4100.00,&#039;Azərbaycan&#039;,&#039;Republic&#039;,&#039;İlham Əliyev&#039;,144,&#039;AZ&#039;);<br />
<br />
<br />
<br />
2.<br />
Remove next line<br />
INSERT INTO `countrylanguage` VALUES (&#039;AZE&#039;,&#039;Armenian&#039;,&#039;F&#039;,2.0);]]></description>
            <dc:creator>Alex -----</dc:creator>
            <category>Docs</category>
            <pubDate>Sun, 06 Oct 2024 13:16:37 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,709394,709394#msg-709394</guid>
            <title>is this an error about character set in the docs？ (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,709394,709394#msg-709394</link>
            <description><![CDATA[ In the document, I can only find the default character and collation for MySQL5.7 are latin1 and latin1_swedish_ci. I want to know if I choose utf8mb4 as the character set, what is the default collation for this character set?]]></description>
            <dc:creator>yunfan zheng</dc:creator>
            <category>Docs</category>
            <pubDate>Sat, 11 Nov 2023 07:46:25 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,708932,708932#msg-708932</guid>
            <title>Incomplete/Incorrect documentation of --console option (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,708932,708932#msg-708932</link>
            <description><![CDATA[ <a href="https://dev.mysql.com/doc/refman/8.0/en/server-options.html#option_mysqld_console"  rel="nofollow">https://dev.mysql.com/doc/refman/8.0/en/server-options.html#option_mysqld_console</a> says about --console option the following(citation below):<br />
<br />
&quot;(Windows only.) Cause the default error log destination to be the console. This affects log sinks that base their own output destination on the default destination. See Section 5.4.2, “The Error Log”. mysqld does not close the console window if this option is used.&quot;<br />
<br />
and I think it&#039;s misleading, incomplete and incorrect, because --console doesn&#039;t only log error, it actually shows Info and Warning messages as well. If I&#039;ll start mysqld.exe without --console, it won&#039;t show anything at all.]]></description>
            <dc:creator>Giorgi Tsiklauri</dc:creator>
            <category>Docs</category>
            <pubDate>Tue, 09 May 2023 12:06:26 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,707423,707423#msg-707423</guid>
            <title>MySQL 8.0 Secure Deployment Guide — fixes (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,707423,707423#msg-707423</link>
            <description><![CDATA[ Reference: <a href="https://dev.mysql.com/doc/mysql-secure-deployment-guide/8.0/en/secure-deployment-password-validation.html"  rel="nofollow">https://dev.mysql.com/doc/mysql-secure-deployment-guide/8.0/en/secure-deployment-password-validation.html</a><br />
<br />
In the above guide on Part 2, the descriptions of some of the [mysqld] options are the wrong way around.<br />
<br />
&quot;validate_password.number_count&quot; should have the description of &quot;The minimum number of numeric (digit) characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger.&quot;<br />
<br />
&quot;validate_password.mixed_case_count&quot; should have the description of &quot;The minimum number of lowercase and uppercase characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger. &quot;<br />
<br />
In the above guide in Part 3, it mentions using the command &quot;bin/mysqladmin -u root -p version&quot; to get to the MySQL console but it should be &quot;bin/mysql -u root -p&quot;]]></description>
            <dc:creator>Damian Przysiwek</dc:creator>
            <category>Docs</category>
            <pubDate>Mon, 06 Feb 2023 01:20:04 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,707350,707350#msg-707350</guid>
            <title>where can I find the.chm file for MySQL 5.8? (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,707350,707350#msg-707350</link>
            <description><![CDATA[ Hello there,<br />
MySQL 5.8 and I were looking for a.chm file for my website( <a href="https://siddhgiritubes.net"  rel="nofollow">https://siddhgiritubes.net</a> ). If anyone is aware of it, kindly provide the URL. <br />
It displays a PDF, a man, and an information page to explain why it has stopped. a chm file]]></description>
            <dc:creator>Iftikhar Qureshi</dc:creator>
            <category>Docs</category>
            <pubDate>Mon, 30 Jan 2023 10:54:17 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,707190,707190#msg-707190</guid>
            <title>Request Chinese translation of user manual (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,707190,707190#msg-707190</link>
            <description><![CDATA[ 大家好!<br />
<br />
<br />
官网提供了英文和日语版本的用户手册，但没有中文版本。<br />
<a href="https://dev.mysql.com/doc/refman/8.0/en/"  rel="nofollow">https://dev.mysql.com/doc/refman/8.0/en/</a><br />
长久以来，当我有疑问时，我不得不在充斥着过时信息的第三方博客里寻找答案，希望这种情况能得到改变。<br />
下面是一些我找到的中文文档，但没有一个保持活跃更新。<br />
[5.1] <a href="https://www.mysqlzh.com/"  rel="nofollow">https://www.mysqlzh.com/</a><br />
[5.7]https://github.com/docs4dev#database<br />
[8.0]https://gitcode.net/dev-cloud/mysql<br />
我能在哪里找到用户手册的原始文档吗？比如说Github或者其他？我希望参与翻译MySQL中文用户手册。<br />
我经常看到一些文档可以在github上编辑和更新，MySQL是否也提供了这样的途径？<br />
<a href="https://devguide.python.org/documentation/translating/#translating"  rel="nofollow">https://devguide.python.org/documentation/translating/#translating</a><br />
<a href="https://github.com/python/python-docs-zh-cn"  rel="nofollow">https://github.com/python/python-docs-zh-cn</a><br />
<a href="https://explore.transifex.com/python-doc/python-newest/"  rel="nofollow">https://explore.transifex.com/python-doc/python-newest/</a><br />
<br />
<br />
Hello! every one.<br />
<br />
I&#039;m sorry that the following content has the help of translation tools.<br />
The official website provides user manuals in English and Japanese, but there is no Chinese version.<br />
<a href="https://dev.mysql.com/doc/refman/8.0/en/"  rel="nofollow">https://dev.mysql.com/doc/refman/8.0/en/</a><br />
For a long time, when I have questions, I have to look for answers in third-party blogs full of outdated information, hoping that this situation can be changed.<br />
The following are some Chinese documents I found, but none of them remain active and updated.<br />
[5.1]  <a href="https://www.mysqlzh.com/"  rel="nofollow">https://www.mysqlzh.com/</a><br />
[5.7] <a href="https://github.com/docs4dev#database"  rel="nofollow">https://github.com/docs4dev#database</a><br />
[8.0] <a href="https://gitcode.net/dev-cloud/mysql"  rel="nofollow">https://gitcode.net/dev-cloud/mysql</a><br />
Where can I find the original document of the user manual? Like Github or something? I hope to participate in the translation of MySQL Chinese user manual.<br />
I often see that some documents can be edited and updated on github. Does MySQL also provide such a way?<br />
<a href="https://devguide.python.org/documentation/translating/#translating"  rel="nofollow">https://devguide.python.org/documentation/translating/#translating</a><br />
<a href="https://github.com/python/python-docs-zh-cn"  rel="nofollow">https://github.com/python/python-docs-zh-cn</a><br />
<a href="https://explore.transifex.com/python-doc/python-newest/"  rel="nofollow">https://explore.transifex.com/python-doc/python-newest/</a>]]></description>
            <dc:creator>zhang san</dc:creator>
            <category>Docs</category>
            <pubDate>Wed, 11 Jan 2023 16:04:50 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,707168,707168#msg-707168</guid>
            <title>lost a blank space in this statement (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,707168,707168#msg-707168</link>
            <description><![CDATA[ In this section ( <a href="https://dev.mysql.com/doc/refman/8.0/en/connection-compression-control.html"  rel="nofollow">https://dev.mysql.com/doc/refman/8.0/en/connection-compression-control.html</a> ), <br />
&quot;This assumes that thereplica_compressed_protocol&quot; lost a blank space between &quot;the&quot; and &quot;replica_compressed_protocol&quot;.]]></description>
            <dc:creator>Dee Wu</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 12 Jan 2023 14:54:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,706901,706901#msg-706901</guid>
            <title>《MySQL 8.0 Reference Manual》 Doc Words Error (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,706901,706901#msg-706901</link>
            <description><![CDATA[ There&#039;s an error in the thrid last paragraph of this section [&quot;17.4.8 Switching Sources During Failover&quot;](https://dev.mysql.com/doc/refman/8.0/en/replication-solutions-switch.html). The error&#039;s original text is &quot;During this procedure, do not forget to run RESET MASTER on Replica 1 before making Replica 1, Replica 2, and Replica 3 replicas of Source.&quot;. I think the first &quot;Replica 1&quot; must be replaced by &quot;Source&quot; in the context. So it it a big mistake which could cause readers misunderstand, even totally opposite!]]></description>
            <dc:creator>Dee Wu</dc:creator>
            <category>Docs</category>
            <pubDate>Mon, 05 Dec 2022 23:57:12 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,706768,706768#msg-706768</guid>
            <title>json_set function dont match doc (2 replies)</title>
            <link>https://forums.mysql.com/read.php?12,706768,706768#msg-706768</link>
            <description><![CDATA[ In MySQL doc 8.0, json_set will returns NULL if any argument is NULL. But in my mysql (8.0.31), I found:<br />
select json_set(&#039;{}&#039;, &#039;$.a&#039;, null);<br />
&#039;{&quot;a&quot;: null}&#039;]]></description>
            <dc:creator>wb l</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 08 Dec 2022 03:18:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,706661,706661#msg-706661</guid>
            <title>Foreign Keys, Referential Actions: Misleading information about `SET DEFAULT`? (Is actually accepted, but just runs default referential action) (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,706661,706661#msg-706661</link>
            <description><![CDATA[ Before I open a bug report, I thought to maybe double check with you here to see if you agree with my observations that the MySQL 8 documentation of the &quot;Referential Actions&quot; section on the &quot;Foreign Keys&quot; page (https://dev.mysql.com/doc/refman/8.0/en/create-table-foreign-keys.html) is wrong:<br />
<br />
&gt; SET DEFAULT: This action is recognized by the MySQL parser, but both InnoDB and NDB reject table definitions containing ON DELETE SET DEFAULT or ON UPDATE SET DEFAULT clauses.<br />
<br />
I don&#039;t think this is correct. The table definition is accepted just fine and the table is created as with any other referential action.<br />
<br />
But, I get an error when I run a query that would trigger this referential action and the field is definitely not updated to the default. But the error is also not a special error that tells me that SET DEFAULT is not supported, but it looks to me like this is just the same error as when the default referential action, NO ACTION, is executed.<br />
<br />
Here is the SQL to reproduce this:<br />
<br />
```<br />
CREATE TABLE `User` (<br />
    `id` INTEGER NOT NULL AUTO_INCREMENT,<br />
<br />
    PRIMARY KEY (`id`)<br />
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br />
<br />
-- CreateTable<br />
CREATE TABLE `Post` (<br />
    `id` INTEGER NOT NULL AUTO_INCREMENT,<br />
    `userId` INTEGER NULL DEFAULT 3,<br />
<br />
    PRIMARY KEY (`id`)<br />
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br />
<br />
-- AddForeignKey<br />
ALTER TABLE `Post` ADD CONSTRAINT `Post_userId_fkey`<br />
  FOREIGN KEY (`userId`) REFERENCES `User`(`id`)<br />
  ON DELETE SET DEFAULT ON UPDATE SET DEFAULT;<br />
  <br />
 <br />
INSERT INTO `User`(`id`) VALUES (1);<br />
INSERT INTO `User`(`id`) VALUES (3);<br />
INSERT INTO `Post`(`id`, `userId`) VALUES (1, 1);<br />
UPDATE `User` SET `id` = 2 WHERE `id` = 1;<br />
SELECT `id`, `userId`* FROM `Post`;<br />
UPDATE `Post` SET `userId` = 70 WHERE `userId` = 1;<br />
```<br />
<br />
This was different in MySQL 5.6 and 5.7 where the `ALTER TABLE` indeed already failed. <br />
<br />
Do you agree that the documentation of MySQL 8 was not updated to reflect this changing behavior?<br />
<br />
J]]></description>
            <dc:creator>Jan Piotrowski</dc:creator>
            <category>Docs</category>
            <pubDate>Fri, 04 Nov 2022 23:35:01 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,706640,706640#msg-706640</guid>
            <title>Possibly flawed example description for LEAD() and LAG() window functions (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,706640,706640#msg-706640</link>
            <description><![CDATA[ The MySQL docs entry for the [`LEAD` window function](https://dev.mysql.com/doc/refman/8.0/en/window-function-descriptions.html#function_lead) includes the following example description:<br />
<br />
&gt; For example, if `N` is `3`, the return value is `default` for the last two rows.<br />
<br />
Shouldn&#039;t it be the last *three* rows? If the current row is the third to last row in a partition, then it is not possible to look three rows ahead for a leading value, thus resulting in the `default` value being used for this third to last row (as well as the second to last and actual last rows as well ... hence three rows and not two).<br />
<br />
The sample [sales](https://dev.mysql.com/doc/refman/8.0/en/window-functions-usage.html) data set provided in the docs can illustrate what I mean.<br />
<br />
The query<br />
<br />
```sql<br />
SELECT<br />
  S.*,<br />
  LEAD(S.profit, 3, -1) OVER(PARTITION BY S.country ORDER BY S.profit DESC) AS &#039;lead&#039;<br />
FROM<br />
  sales S;<br />
```<br />
<br />
produces the following result set:<br />
<br />
```<br />
+------+---------+------------+--------+------+<br />
| year | country | product    | profit | lead |<br />
+------+---------+------------+--------+------+<br />
| 2000 | Finland | Computer   |   1500 |   -1 |<br />
| 2000 | Finland | Phone      |    100 |   -1 |<br />
| 2001 | Finland | Phone      |     10 |   -1 |<br />
| 2000 | India   | Computer   |   1200 |   -1 |<br />
| 2000 | India   | Calculator |     75 |   -1 |<br />
| 2000 | India   | Calculator |     75 |   -1 |<br />
| 2001 | USA     | Computer   |   1500 |  150 |<br />
| 2000 | USA     | Computer   |   1500 |  100 |<br />
| 2001 | USA     | Computer   |   1200 |   75 |<br />
| 2001 | USA     | TV         |    150 |   50 |<br />
| 2001 | USA     | TV         |    100 |   -1 |<br />
| 2000 | USA     | Calculator |     75 |   -1 |<br />
| 2001 | USA     | Calculator |     50 |   -1 |<br />
+------+---------+------------+--------+------+<br />
```<br />
<br />
The `lead` entries for the `Finland` and `India` `country` partitions all have `-1`, the assigned `default` value, when `N` is `3`. *All* partitions have `-1` as the `lead` value for the last `3` rows of each partition.<br />
<br />
The same &quot;issue&quot; appears in the documentation of the `LAG()` window function (i.e., if `N` is `3`, then the return value is `default` for the first *three* rows, not two).]]></description>
            <dc:creator>Daniel Farlow</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 03 Nov 2022 09:48:20 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,706484,706484#msg-706484</guid>
            <title>where can I get MySQL 5.7 .chm file (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,706484,706484#msg-706484</link>
            <description><![CDATA[ HI<br />
<br />
I was searching for .chm file for MySQL 5.7 &amp; 8 if any one knows it please provide the link. Its showing PDF, Man &amp; Info page why its stop .chm file ?]]></description>
            <dc:creator>Prashant Nirgun</dc:creator>
            <category>Docs</category>
            <pubDate>Mon, 17 Oct 2022 15:57:31 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,705471,705471#msg-705471</guid>
            <title>Docuentation on the new libmysqlclient needs improvement (no replies)</title>
            <link>https://forums.mysql.com/read.php?12,705471,705471#msg-705471</link>
            <description><![CDATA[ Hi, ALL,<br />
<br />
2 things:<br />
<br />
1. There is no indication on how to build libmysqlclient (formerly known as mySQL Connector C) on Windows with MSVC as a Debug version.<br />
<br />
Building everything is a cmplete waste of time, especially if I don&#039;t need a server -- client only. But the docs doesn&#039;t explain how!<br />
<br />
The documentation for old product did a perfect ob laying everything out. The current one says - build the server and it will build the library.<br />
<br />
2. Documentation on how to use the library is even worse especially on Windows.<br />
<br />
The very first sentence in the <a href="https://dev.mysql.com/doc/c-api/8.0/en/c-api-building-clients.html#c-api-building-clients-compiling-mysql-clients-on-microsoft-windows"  rel="nofollow">https://dev.mysql.com/doc/c-api/8.0/en/c-api-building-clients.html#c-api-building-clients-compiling-mysql-clients-on-microsoft-windows</a> states:<br />
<br />
<pre class="bbcode">
To specify header and library file locations, use the facilities provided by your development environment.</pre>
<br />
What is provided by MSVC?<br />
<br />
I know I need mysql.h and the dll, but there are multiple copies of the file available and I don&#039;t know which one I shuold use.<br />
<br />
I sure hope someone from mySQL foundation will look at this post and fix it or at least confirm and explain here in the meantime<br />
<br />
Thank you.]]></description>
            <dc:creator>Igor Korot</dc:creator>
            <category>Docs</category>
            <pubDate>Sun, 24 Jul 2022 02:02:45 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,705160,705160#msg-705160</guid>
            <title>Is it a error in doc? (7 replies)</title>
            <link>https://forums.mysql.com/read.php?12,705160,705160#msg-705160</link>
            <description><![CDATA[ Document Section: 15.8.12 Enabling Automatic Configuration for a Dedicated MySQL Server<br />
<br />
Contents from doc:<br />
-------------------------------------------------------------------------------<br />
innodb_log_files_in_group<br />
<br />
The number of log files is configured according to the automatically configured buffer pool size (in gigabytes). Automatic configuration of the innodb_log_files_in_group variable was added in MySQL 8.0.14.<br />
<br />
Table 15.11 Automatically Configured Number of Log Files<br />
<br />
Buffer Pool Size	Number of Log Files<br />
Less than 8GB	ROUND(buffer pool size)<br />
8GB to 128GB	ROUND(buffer pool size * 0.75)<br />
Greater than 128GB	64<br />
-------------------------------------------------------------------------------<br />
<br />
When buffer pool size between 8G and 128G,logfiles#=round(buffer pool size * 0.75);Suppose the buffer pool is 100G, then logfile#=round(100*0.75) = 75, the value greater than the next rank buffer pool size(64).<br />
<br />
So, is it a wrong formula or something else?]]></description>
            <dc:creator>Stephen Zhao</dc:creator>
            <category>Docs</category>
            <pubDate>Wed, 07 Dec 2022 12:14:21 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,703430,703430#msg-703430</guid>
            <title>Broken Link in Documentation (6 replies)</title>
            <link>https://forums.mysql.com/read.php?12,703430,703430#msg-703430</link>
            <description><![CDATA[ On this page:<br />
<a href="https://dev.mysql.com/doc/refman/8.0/en/faqs-views.html"  rel="nofollow">https://dev.mysql.com/doc/refman/8.0/en/faqs-views.html</a><br />
<br />
In this content:<br />
A.6.2.<br />
<br />
Is there a discussion forum for MySQL Views?<br />
<br />
Yes. See <a href="https://forums.mysql.com/list.php?100"  rel="nofollow">https://forums.mysql.com/list.php?100</a><br />
<br />
There is no forum at <a href="https://forums.mysql.com/list.php?100"  rel="nofollow">https://forums.mysql.com/list.php?100</a><br />
<br />
Is there a discussion forum for MySQL Views?]]></description>
            <dc:creator>Martie Henry</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 16 Jun 2022 23:46:19 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,703239,703239#msg-703239</guid>
            <title>Using index for skip scan (4 replies)</title>
            <link>https://forums.mysql.com/read.php?12,703239,703239#msg-703239</link>
            <description><![CDATA[ I was confused as to which had better performance, &quot;index skip scan&quot; or &quot;full table scan&quot; when I read the MySQL document to this point(https://dev.mysql.com/doc/refman/8.0/en/range-optimization.html)]]></description>
            <dc:creator>t k</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 03 Nov 2022 04:12:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,700304,700304#msg-700304</guid>
            <title>Missing a &quot;FROM&quot; (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,700304,700304#msg-700304</link>
            <description><![CDATA[ Missing a &quot;From&quot; in this example :<br />
<a href="https://dev.mysql.com/doc/refman/8.0/en/outer-join-simplification.html"  rel="nofollow">https://dev.mysql.com/doc/refman/8.0/en/outer-join-simplification.html</a><br />
Consider a query of this form, where R(T2) greatly narrows the number of matching rows from table T2:<br />
<br />
SELECT * T1 LEFT JOIN T2 ON P1(T1,T2)<br />
  WHERE P(T1,T2) AND R(T2)<br />
<br />
this sql should be : SELECT * FROM T1 LEFT JOIN T2 ON P1(T1,T2) WHERE P1(T1,T2) AND R(T2)]]></description>
            <dc:creator>A SS</dc:creator>
            <category>Docs</category>
            <pubDate>Mon, 20 Dec 2021 16:57:14 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,700235,700235#msg-700235</guid>
            <title>Missing one{ (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,700235,700235#msg-700235</link>
            <description><![CDATA[ <a href="https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_ok_packet.html"  rel="nofollow">https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_ok_packet.html</a><br />
<br />
Missing  &quot;{&quot;  after &quot;if capabilities &amp; CLIENT_SESSION_TRACK&quot;]]></description>
            <dc:creator>lin chen</dc:creator>
            <category>Docs</category>
            <pubDate>Wed, 15 Dec 2021 09:58:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?12,699683,699683#msg-699683</guid>
            <title>Grammar error on Loadable Function Reference page (1 reply)</title>
            <link>https://forums.mysql.com/read.php?12,699683,699683#msg-699683</link>
            <description><![CDATA[ The Loadable Function Reference page (https://dev.mysql.com/doc/refman/8.0/en/loadable-function-reference.html) reads:<br />
<br />
&gt; The following table lists each function that is loadable and runtime and provides a short description of each one.<br />
<br />
I believe it should be read:<br />
<br />
&gt; The following table lists each function that is loadable at runtime and provides a short description of each one.<br />
<br />
replacing the &quot;and&quot; between &quot;loadable&quot; and &quot;runtime&quot; with &quot;at&quot;.]]></description>
            <dc:creator>Matthew Peveler</dc:creator>
            <category>Docs</category>
            <pubDate>Thu, 09 Dec 2021 12:50:13 +0000</pubDate>
        </item>
    </channel>
</rss>
