MuleSoft · Database Connector

DB:INVALID_DATABASE

Short answer

DB:INVALID_DATABASE means the connection to the RDBMS was established but the database named in the configuration does not exist. Correct the database name.

VerifiedLast verified

01Error text

MuleSoft error
Error type: DB:INVALID_DATABASE

02Likely causes

  • The connection to the RDBMS is established, but the database doesn't exist.

03How to fix it

  1. Check the database name in the Database configuration for this environment.
  2. Confirm that database exists on the server the configuration points to.
  3. Turn on verbose logging: add AsyncLogger entries at DEBUG for org.mule.extension.db and org.mule.db.commons in log4j2.xml. Turn it off afterward.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.