MuleSoft · Database Connector

DB:CANNOT_REACH

Short answer

DB:CANNOT_REACH means Database Connector cannot establish a connection with the RDBMS. Check the host and port in the Database configuration and the network path from the app to the database server.

VerifiedLast verified

01Error text

MuleSoft error
Error type: DB:CANNOT_REACH

02Likely causes

  • Database Connector cannot establish a connection with the RDBMS.

03How to fix it

  1. Check the host and port in the Database configuration for the environment the app runs in.
  2. Confirm the database server is running and reachable from where the app is deployed.
  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.
  4. Handle the failure with an error handler of type DB:CANNOT_REACH, or its parent DB:CONNECTIVITY.

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.