We're updating the issue view to help you get more done. 

MySQLDatabase.supportsCatalogs() and MySQLDatabase.supportsSchemas() results are wrong (switched)

Description

The class MySQLDatabase which implements supportsCatalogs() method returns "true" where in fact MySQL does not support catalogs. It supports schemas.

This check is used so that SpringLiquibase.java can correctly use the defaultSchema property in the proper place, either setDefaultSchemaName() or setDefaultCatalogName(), to setup the connection which will run the changelog.

The result is that the connection Liquibase tries to use can't be configured with the proper default schema, which fails migrations in several scenarios.

Environment

maven

Status

Assignee

Unassigned

Reporter

João Macedo Pinto

Labels

None

Affects versions

3.6.3

Priority

Major