liquibase.exception.DatabaseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 4202#203722618
    via GitHub by jmreicha
    ,
    • liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE cattle.volume ADD access_mode VARCHAR(255) NULL: Can't create table 'cattle.#sql-18_7' (errno: -1) at liquibase.changelog.ChangeSet.execute(ChangeSet.java:388)[liquibase-core-3.1.0.jar:na] at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:40)[liquibase-core-3.1.0.jar:na] at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:64)[liquibase-core-3.1.0.jar:na] at liquibase.Liquibase.update(Liquibase.java:202)[liquibase-core-3.1.0.jar:na] at liquibase.Liquibase.update(Liquibase.java:181)[liquibase-core-3.1.0.jar:na] at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:342)[liquibase-core-3.1.0.jar:na] at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:299)[liquibase-core-3.1.0.jar:na] at io.cattle.platform.liquibase.Loader.afterPropertiesSet(Loader.java:62)[cattle-framework-db-loader-0.5.0-SNAPSHOT.jar:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509)[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE] Caused by: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE cattle.volume ADD access_mode VARCHAR(255) NULL: Can't create table 'cattle.#sql-18_7' (errno: -1) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:61)[liquibase-core-3.1.0.jar:na] at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:106)[liquibase-core-3.1.0.jar:na] at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1189)[liquibase-core-3.1.0.jar:na] at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1172)[liquibase-core-3.1.0.jar:na] at liquibase.changelog.ChangeSet.execute(ChangeSet.java:352)[liquibase-core-3.1.0.jar:na] ... 10 more Caused by: java.sql.SQLException: Can't create table 'cattle.#sql-18_7' (errno: -1) at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionMapper.java:136)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.internal.util.ExceptionMapper.throwException(ExceptionMapper.java:69)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.MariaDbStatement.executeQueryEpilog(MariaDbStatement.java:261)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:290)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:344)[mariadb-java-client-1.3.4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)[commons-dbcp-1.4.jar:1.4] at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:294)[liquibase-core-3.1.0.jar:na] at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:54)[liquibase-core-3.1.0.jar:na] ... 15 more Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: Can't create table 'cattle.#sql-18_7' (errno: -1) at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:475)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.result(AbstractQueryProtocol.java:396)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:378)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:334)[mariadb-java-client-1.3.4.jar:na] at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:280)[mariadb-java-client-1.3.4.jar:na] ... 24 more

    Users with the same issue

    aldrinlealaldrinleal
    1 times, last one,
    olle.hallinolle.hallin
    1 times, last one,
    poroszdporoszd
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    rprp
    2 times, last one,
    1 more bugmates