我确实运行此查询以生成.sql格式的changelogFile
liquibase --driver=com.mysql.jdbc.Driver
--classpath=mysql-connector-java-5.1.24-bin.jar
--changeLogFile=test_diff.sql
--url="jdbc:mysql://localhost/provision"
--username=root
--password=**
diffChangeLog
--referenceUrl=jdbc:mysql://localhost/provision_old
--referenceUsername=root
--referencePassword=***
我得到以下错误
Liquibase Update Failed: No serializer associated with the filename or extension 'sql' SEVERE 5/2/13 12:50 PM:liquibase: No serializer associated with the filename or extension 'sql' java.lang.RuntimeException: No serializer associated with the filename or extension 'sql'
是否可以在.sql格式中生成changelogfile?
小智 1
尝试使用这个参数:
--changeLogFile="./changelog.mysql.sql"
Run Code Online (Sandbox Code Playgroud)
可以参考这里。
| 归档时间: |
|
| 查看次数: |
8678 次 |
| 最近记录: |