0
当在liquibase.local.properties文件中使用url="jdbc:mysql://127.0.0.1/mydbname"
运行liquibase命令(状态,更新)时,我收到以下错误。liquibase是否支持local.properties文件中的jdbc mysql连接url?
Liquibase status Failed:
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException:
Connection could not be created to "jdbc:mysql://127.0.0.1/mydbname" with driver com.mysql.jdbc.Driver.
Possibly the wrong driver for the given database URL
如果我运行相同的命令,但通过在命令行中的URL它的作品。
真的没有比这个例外更多吗? –
这是完整的例外。我添加了换行符。 :) – gidmanma
你真的在属性文件的URL周围有双引号吗?如果是,请尝试删除它们 –