When adding more than one scheduled backup I get this error message
PDOException: SQLSTATE[HY000] [1203] User XXX already has more than 'max_user_connections' active connections in backup_migrate_source_db->_get_db_connection() (line 220 of /sites/all/modules/backup_migrate/includes/sources.db.inc).
(on page /admin/config/system/backup_migrate/schedule).

After deleting the second schedule in 'backup_migrate_schedules' table using SQL in CLI, I can access the page again.

Although I used Elysia Cron for these scheduled backup I got the same error with other settings.

Please note that I have completely uninstalled and reinstalled Backup and Migrate module with last version (7.x-3.5)

Comments

ianniscamillieri created an issue. See original summary.

Cyberflyer’s picture

This seems to be the same as:

https://www.drupal.org/project/backup_migrate/issues/2946311

See my notes there.

I was able to manually delete a schedule in the DB and get it to run for a bit and then this failure mode came back.

couturier’s picture

Status: Active » Closed (duplicate)
Related issues: +#2946311: Too many connections in backup_migrate_source_db->_get_db_connection()

Yes, this is a duplicate.

ianniscamillieri’s picture

It's not -strictly speaking- a duplication as I have this issue without using CiviCRM.

couturier’s picture

Wow, that's really interesting. Would you be willing or able to help with some of the testing needed to identify where this error is coming from? You can read more at the linked issue.