Reuse connections to avoid port starvation

You are viewing an old version of this question. View the current version here.

We have an issue with MariaDB and PHP. Queries are working fine, but during bursts we issue too many queries, causing a port starvation. This disconnects all of our users. We have implemented some connection re-use in PHP/PDO and this does bring port usage down, but we are afraid that certain information from previous queries will spill over to the current query. Is there a way to reset the mysql connection without having to disconnect/reconnect?

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.