用SQL Anywhere连接Liquibase 17

问题描述 投票:0回答:1

我已经下载了liquibase-4.0.0-beta1,我想把它和现有的SQL Anywhere 17数据库一起设置。我已经尝试运行以下命令。

liquibase 
--driver=com.sybase.jdbc4.jdbc.SybDriver 
--classpath=jconn4-4.0.0.jar 
--changeLogFile=testInitialChangelog.sql 
--url="jdbc:sqlanywhere:uid=dba;pwd=sql;eng=test123456;PreventNotCapable=y" 
--logLevel=debug generateChangeLog

输出是:

[2020-05-12 12:05:59] INFO [liquibase.integration] No Liquibase Pro license key supplied. Please set liquibaseProLicenseKey on command line or in liquibase.properties to use Liquibase Pro features.
Liquibase Community 4.0.0-beta1 by Datical
Starting Liquibase at 12:05:59 (version 4.0.0-beta1 #6 built at 2020-04-20 18:23+0000)
Unexpected error running Liquibase: liquibase.exception.DatabaseException: Connection could not be created to jdbc:sqlanywhere:uid=dba;pwd=sql;eng=test123456;PreventNotCapable=y with driver com.sybase.jdbc4.jdbc.SybDriver.  Possibly the wrong driver for the given database URL
For more information, please use the --logLevel flag
[2020-05-12 12:06:00] SEVERE [liquibase.integration] Unexpected error running Liquibase: liquibase.exception.DatabaseException: Connection could not be created to jdbc:sqlanywhere:uid=dba;pwd=sql;eng=test123456;PreventNotCapable=y with driver com.sybase.jdbc4.jdbc.SybDriver.  Possibly the wrong driver for the given database URL
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Connection could not be created to jdbc:sqlanywhere:uid=dba;pwd=sql;eng=test123456;PreventNotCapable=y with driver com.sybase.jdbc4.jdbc.SybDriver.  Possibly the wrong driver for the given database URL

我没有找到SQL Anywhere的连接字符串(URL)信息,谁能帮帮我,我做错了什么?

谢谢你的帮助

liquibase sqlanywhere
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.