How to queue the proxysql client connections when max user connection exceeds?

Now proxysql throws error immediately when active connections reached the configured value. Any support available in proxysql to queue the connections ?

Exception received - User ‘******’ has exceeded the ‘max_user_connections’ resource (current value: *)
As the incoming request rate / user is not known clearly, I would like to provide reasonable value but at the same time I need to handle the request little later if max_user_connection has exceeded.

Thanks ahead!

1 Like

ProxySQL will not queue connections that fail to establish to backend servers. Either increase max_connections in MySQL, or implement better logic in your application.

1 Like