Skip to content

Pooled connection exceeded the 'max_user_connections' resource #8076

Closed

Description

@rscoates

What you are doing?

Connecting to a database on Heroku, and syncing the database. It looks like connections aren't pooling, though I've configured a maximum number of 5 connections in the pool. I posted on the Slack channel about 5 hours ago, and nothing there indicated my configuration was wrong, so I'm guessing it's a bug.

pool: {
    max: 5,
    min: 0,
    idle: 10000,
  }

What do you expect to happen?

I wanted a successful connection to the database.

What is actually happening?

Data Sync failed User '{USERNAME}' has exceeded the 'max_user_connections' resource (current value: 10)
From the database dashboard, I can see the Sequelize is making 10 connections, clearly more than the max config.

Dialect: mysql
Sequelize version: v3, v4 and also @swordfish444's fork, which updates the eviction config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions