I’ve encountered an issue where my MySQL user has exceeded the max_user_connections limit (currently set to 19). As a result, I am unable to:
Open the MySQL console, as it returns the error: ERROR 1226 (42000): User 'myusername' has exceeded the 'max_user_connections' resource (current value: 19) Console closed. Run any scripts or queries that require MySQL access. I have tried restarting the MySQL service using the Bash console, but I am still unable to access the database or kill existing connections.
Could you please help me terminate the stale or idle MySQL connections?