我正尝试使用以下参数运行liquibase(默认参数,仅修改路径):
liquibase --driver=com.mysql.jdbc.Driver \
--classpath=mysql-connector-java-5.1.20-bin.jar
--changeLogFile=changelog.xml \
--url="jdbc:mysql://localhost/example" \
--username=root \
migratechangelog.xml非常小:
<?xml version="1.0" encoding="UTF-8"?>
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">
我得到的错误是:Liquibase Update Failed: 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 '????????????????' at