Skip to main content

User 'root' has exceeded the 'max_user_connections' resource

Comments

6 comments

  • cPanelMichael
    Hello :) I've seen this reported after failed MySQL upgrades. In those cases, the resolution was to restart MySQL with skip-grant-tables, run "mysql_upgrade -s" to upgrade the system tables, and then restart MySQL without skip-grant-tables. Could you let us know if these steps help? Thank you.
    0
  • Judd Taylor
    Thank you for the quick suggestion. Not having much luck Via PuTTY I attempted: mysql skip-grant-tables Reply was a similar error: ERROR 1226 (42000): User 'root' has exceeded the 'max_user_connections' resource (current value: -1)
    0
  • cPanelMichael
    If restarting MySQL before starting that workaround does not help, then feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • Judd Taylor
    Ticket 5577731
    0
  • cPanelMichael
    To update, the user was able to resolve the issue through the use of the "mysql_upgrade" command. Thank you.
    0
  • Judd Taylor
    A little more info for any who encounter similar issues... Appears my issue was that my MySQL installation had become corrupted during a failed MySQL update. In the end I was able to resolve the issue by following the instructions from [url=http://docs.cloudlinux.com/backing_up_mysql.html]MySQL Governor > Backing Up MySQL by running the following commands: $ mkdir -p ~/mysqlbkp $ service mysql restart --skip-networking --skip-grant-tables $ mysql_upgrade $ mysqldump --all-databases --routines --triggers > ~/mysqlbkp/dbcopy.sql $ service mysql stop $ cp -r /var/lib/mysql/mysql ~/mysqlbkp/ $ service mysql start
    0

Please sign in to leave a comment.