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周圍有雙引號嗎?如果是,請嘗試刪除它們 –