小编dsa*_*tya的帖子

如何生成changlogFile in.sql格式?

我确实运行此查询以生成.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?

liquibase

9
推荐指数
1
解决办法
8678
查看次数

如何将数据库回滚到liquibase中的特定日期

我试图根据特定日期回滚数据库。

liquibase rollbackToDate 2013-05-14 10:13:16

它引发以下错误:

Error:Unexpected date/time format.
Run Code Online (Sandbox Code Playgroud)

请为此共享确切的命令。

liquibase

2
推荐指数
1
解决办法
2882
查看次数

标签 统计

liquibase ×2