Flyway 命令行工具不提示输入用户名和密码
Flyway command line tool doesn't prompt for user name and password
我不想在 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 还说:
Credentials
If you do not supply a database user and password via any of the means above, you will be prompted to enter them:
还有什么需要做的还是Bug(4.0版)?使用配置的用户名和密码,它工作正常。
好的,这是一个错误,将在 4.0.1 版本中修复,参见 Issue 1245:
There was a last minute bug that got introduced in #724 and that has now been fixed. This will be part of 4.0.1. You can of course build from source until then.
我不想在 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 还说:
Credentials
If you do not supply a database user and password via any of the means above, you will be prompted to enter them:
还有什么需要做的还是Bug(4.0版)?使用配置的用户名和密码,它工作正常。
好的,这是一个错误,将在 4.0.1 版本中修复,参见 Issue 1245:
There was a last minute bug that got introduced in #724 and that has now been fixed. This will be part of 4.0.1. You can of course build from source until then.