---
title: "`COM_RESET_CONNECTION` support in `mysqlnd`"
url: https://daily.dev/posts/com-reset-connection-support-in-mysqlnd--skvzru9o2
source_url: https://externals.io/message/131709
type: article
source: "externals.io"
published: 2026-07-02T15:14:22.662Z
updated: 2026-07-02T15:14:50.093Z
tags: ["php", "mysql"]
reading_time: 16
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# `COM_RESET_CONNECTION` support in `mysqlnd`

**[externals.io](https://daily.dev/sources/externals)** · 16 min read · 0 upvotes · 0 comments

## Summary

A PHP internals mailing list thread discussing a PR to add COM_RESET_CONNECTION support in mysqlnd when reusing persistent database connections. The change ensures connections are returned to a blank-slate state (no active transactions, no leftover session variables) when reused across requests. The discussion covers minimum MySQL/MariaDB version requirements (5.7.3+ and 10.2+ respectively), whether an RFC is needed, PDO implementation details (adding a new 'reset connection' hook at the PDO level rather than overloading the liveness check function), and a related proposal to bump the minimum autoconf version to 2.71 for C11 support. The thread concludes with the author drafting an RFC for minimum supported versions in PHP 8.6 and updating the PR to add a proper reset connection hook for PDO.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://externals.io/message/131709>

## Similar posts on daily.dev

- [\`COM\_RESET\_CONNECTION\` support in \`mysqlnd\`](https://daily.dev/posts/com-reset-connection-support-in-mysqlnd--zb1zek442) · externals.io · 0 upvotes · 0 comments
- [\`COM\_RESET\_CONNECTION\` support in \`mysqlnd\`](https://daily.dev/posts/com-reset-connection-support-in-mysqlnd--7phb9q3vz) · externals.io · 0 upvotes · 0 comments
- [\[RFC\] \[Discussion\] Minimum supported versions for PHP 8.6](https://daily.dev/posts/rfc-discussion-minimum-supported-versions-for-php-8-6-rxdf7q3mc) · externals.io · 0 upvotes · 0 comments
- [\[RFC\] \[Discussion\] Minimum supported versions for PHP 8.6](https://daily.dev/posts/rfc-discussion-minimum-supported-versions-for-php-8-6-nsgpc7cnw) · externals.io · 0 upvotes · 0 comments
- [\[RFC\] \[Discussion\] Minimum supported versions for PHP 8.6](https://daily.dev/posts/rfc-discussion-minimum-supported-versions-for-php-8-6-l2caoykot) · externals.io · 0 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php), [#mysql](https://daily.dev/tags/mysql)

[View this post on daily.dev](https://daily.dev/posts/com-reset-connection-support-in-mysqlnd--skvzru9o2)
