2016-03-19 63 views
0

我不想在flyway.conf配置用戶名和密碼,我在評論中讀到它時並不需要:遷飛命令行工具不提示輸入用戶名和密碼

# User to use to connect to the database. Flyway will prompt you to enter it if not specified. 
# flyway.user= 

# Password to use to connect to the database. Flyway will prompt you to enter it if not specified. 
# flyway.password= 

,但我得到以下錯誤信息:

ERROR: Unable to obtain Jdbc connection from DataSource (jdbc:jtds:sqlserver://test-server/test) for user 'null': I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property. 

Documentation也說:

克雷德ntials

如果你不提供通過上述任何方式的數據庫用戶名和密碼,系統會提示您輸入它們:

有什麼更多的事情要做或者是一個Bug(版本4.0)?使用配置的用戶名和密碼,它工作正常。

回答

0

好吧,這是一個錯誤,將被固定在4.0.1版本中,看到Issue 1245

有是得到了在#724引入,現在已被固定在最後一分鐘的錯誤。這將是4.0.1的一部分。你當然可以從源代碼構建,直到那時。

相關問題