No replies yet, so I will add some information.
I have now tried to run the example given at http://www.liquibase.org/documentation/sql_format.html
The same error occurs. Now I have created a logfile, which has the following output
- SEVERE 19-7-13 16:40:liquibase: Change Set c:/temp/liquibase/liquibase.sql::raw::includeAll failed. Error: Error executing SQL --liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id int primary key,
- name varchar(255)
- );: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id i' at line 1
- liquibase.exception.DatabaseException: Error executing SQL --liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id int primary key,
- name varchar(255)
- );: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id i' at line 1
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:56)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:98)
- at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1341)
- at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1325)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:343)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:28)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
- at liquibase.Liquibase.update(Liquibase.java:135)
- at liquibase.integration.commandline.Main.doMigration(Main.java:848)
- at liquibase.integration.commandline.Main.main(Main.java:138)
- Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id i' at line 1
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
- at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
- at com.mysql.jdbc.Connection.execSQL(Connection.java:3206)
- at com.mysql.jdbc.Statement.execute(Statement.java:727)
- at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:86)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:49)
- ... 9 more
- SEVERE 19-7-13 16:40:liquibase: Migration failed for change set c:/temp/liquibase/liquibase.sql::raw::includeAll:
- Reason: liquibase.exception.DatabaseException: Error executing SQL --liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id int primary key,
- name varchar(255)
- );: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id i' at line 1
- liquibase.exception.MigrationFailedException: Migration failed for change set c:/temp/liquibase/liquibase.sql::raw::includeAll:
- Reason: liquibase.exception.DatabaseException: Error executing SQL --liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id int primary key,
- name varchar(255)
- );: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id i' at line 1
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:376)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:28)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
- at liquibase.Liquibase.update(Liquibase.java:135)
- at liquibase.integration.commandline.Main.doMigration(Main.java:848)
- at liquibase.integration.commandline.Main.main(Main.java:138)
- Caused by: liquibase.exception.DatabaseException: Error executing SQL --liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id int primary key,
- name varchar(255)
- );: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id i' at line 1
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:56)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:98)
- at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1341)
- at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1325)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:343)
- ... 5 more
- Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
- --changeset jvddrift:1
- create table test1 (
- id i' at line 1
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
- at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
- at com.mysql.jdbc.Connection.execSQL(Connection.java:3206)
- at com.mysql.jdbc.Statement.execute(Statement.java:727)
- at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:86)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:49)
- ... 9 more
I really hope someone can point me in the right direction!
Regards
Joost