diff --git a/reference/mysqlnd/notes.xml b/reference/mysqlnd/notes.xml
index fc879ca934a0..33c8b83fc0d4 100644
--- a/reference/mysqlnd/notes.xml
+++ b/reference/mysqlnd/notes.xml
@@ -12,6 +12,11 @@
streams documentation () should be consulted
on such details as timeout settings, not the documentation for the MySQL
Client Library.
+ As of PHP 8.4.0, when connecting to a MySQL server of
+ version 8.0.24 or later, the error code reported for a server wait timeout
+ is 4031
+ (ER_CLIENT_INTERACTION_TIMEOUT) instead of
+ 2006 (CR_SERVER_GONE_ERROR).