Skip to content

[Docs] PDO MySQL behavior with persistent connections (compared to mysqli) #4540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AllenJB opened this issue Mar 16, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@AllenJB
Copy link
Contributor

AllenJB commented Mar 16, 2025

Affected page

https://www.php.net/manual/en/pdo.connections.php#example-1063

Current issue

https://www.php.net/manual/en/mysqli.persistconns.php details several behaviors when using persistent connections with mysqli.

It's not clear/documented if PDO MySQL implements these same behaviors or not.

Suggested improvement

Clearly state in the PDO MySQL documentation whether any cleanup is performed when using persistent connections. If not, this should be clearly stated so developers are aware of the potential issues of persistent connections.

Additional context

@AllenJB AllenJB added the enhancement New feature or request label Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant