You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use the MySQL driver to grab our secrets from AWS using the Maven Liquibase plugin and I keep getting this error:
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:4.7.1:status (default-cli) on project smart-is:
[ERROR] Error setting up or running Liquibase:
[ERROR] liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.lang.IllegalStateException: No Driver has been registered with name, com.mysql.cj.jdbc.Driver. Please check your system properties or secretsmanager.properties for typos. Also ensure that the Driver registers itself.
I went with the solution as described in Issue #47 where you write your own custom SecretsManager driver and make sure that the driver registers itself. Basically I had changed AWSSecretsManagerMySQLDriver.getDefaultDriverClass() line #132 to:
Trying to use the MySQL driver to grab our secrets from AWS using the Maven Liquibase plugin and I keep getting this error:
I went with the solution as described in Issue #47 where you write your own custom SecretsManager driver and make sure that the driver registers itself. Basically I had changed AWSSecretsManagerMySQLDriver.getDefaultDriverClass() line #132 to:
My Liquibase config is as follows (defined in our pom.xml):
Can someone confirm/fix this issue? Having to extend AWSSecretsManagerDriver is a hacky way of doing things...
The text was updated successfully, but these errors were encountered: