MySQL Forums
Forum List  »  Router & Proxy

Re: MySQL Router Failover - session on previous router existed in DB
Posted by: Herrick Peterson
Date: October 15, 2026 02:09AM

Hello, yes, this can happen. A MySQL Router failover doesn't automatically close existing database sessions on the failed router. Those sessions may remain until MySQL's wait_timeout expires or the connections are explicitly closed.

I'd recommend checking wait_timeout on the database servers and making sure the application closes idle connections properly. Also, consider using connection pooling with appropriate idle connection limits to avoid exhausting the database's connection limit during failover. Let me know if this had helped you.

Herrick, DevOps Engineer @accuweb.cloud

Options: Reply• Quote


Subject
Views
Written By
Posted
Re: MySQL Router Failover - session on previous router existed in DB
68
October 15, 2026 02:09AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.