MuleSoft · Database Connector
DB:INVALID_CREDENTIALS
Short answer
DB:INVALID_CREDENTIALS means the database rejected the user name or password that Database Connector provided. Correct the credentials in the Database configuration for this environment.
VerifiedLast verified
01Error text
Error type: DB:INVALID_CREDENTIALS02Likely causes
- The database rejects the provided credentials.
03How to fix it
- Check the user and password in the Database configuration, including the property values used in this environment.
- Confirm the account is valid on the database itself.
- Turn on verbose logging: add
AsyncLoggerentries atDEBUGfororg.mule.extension.dbandorg.mule.db.commonsinlog4j2.xml. Turn it off afterward.
04Official documentation
→Related errors
- DB:CONNECTIVITYDB:CONNECTIVITY covers several possible connection problems in Database Connector, including a poorly configured connection, no response from the database and a lost connection. Check the connection configuration first, then add a reconnection strategy.
- DB:CANNOT_REACHDB: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.
- DB:INVALID_DATABASEDB:INVALID_DATABASE means the connection to the RDBMS was established but the database named in the configuration does not exist. Correct the database name.
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