Skip to content

mysqlnd: document wait-timeout error code change 2006 -> 4031 (8.4.0) - #5783

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:mysqlnd-wait-timeout-error-code
Open

mysqlnd: document wait-timeout error code change 2006 -> 4031 (8.4.0)#5783
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:mysqlnd-wait-timeout-error-code

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Document that as of PHP 8.4.0, the error code for MySQL server wait timeouts changed from 2006 (CR_SERVER_GONE_ERROR) to 4031 (ER_CLIENT_INTERACTION_TIMEOUT) for MySQL 8.0.24+.

PHP 8.4 Documentation Tracker (view)

@kamil-tekiela

Copy link
Copy Markdown
Member

I'm not sure about this one. It would be documented in a pretty obscure place and the change isn't something out of the ordinary. While it makes sense to have it in UPGRADING, I don't know that we need to put it in the PHP manual.

@lacatoire lacatoire added this to the PHP 8.4 milestone Aug 20, 2026
@lacatoire
lacatoire force-pushed the mysqlnd-wait-timeout-error-code branch from 1d6706a to 76c33e7 Compare August 21, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants