Failed to connect to a database using phpMyAdmin

Updated at:

You may receive a Too many connections error when connecting to a database with phpMyAdmin.

Symptoms

You cannot connect to your database with phpMyAdmin, and the system returns the error message Too many connections.

Possible cause

The number of concurrent connections to the database for your Web Hosting instance has exceeded the default limit of 80.

Solution

You cannot change the maximum number of concurrent connections for a Web Hosting database. If your website requires more connections due to high traffic, use ApsaraDB for RDS or build a self-managed database on an ECS instance.

  • Use ApsaraDB for RDS. Learn more about ApsaraDB for RDS.

  • Build a self-managed database on an ECS instance. Learn more about ECS.

Note

If the issue persists, submit a ticket.