当我使用 Appveyor 将 Sql 数据库项目部署到 Azure 时,出现下一个错误:
Error publishing database: Could not deploy package. Unable to connect to master or target server 'ods'. You must have a user with the same password in master or target server 'ods
所以,在这篇文章中Can't deploy Sql Database Project to Azure建议将 Appveyor 允许的所有 IP 地址添加到 Azure SQL 防火墙,但我仍然收到相同的错误,还有什么其他原因可能导致此问题?
最佳答案
我希望您已按照说明创建了 Azure SQL 数据库逻辑服务器 here ,请在您的连接字符串上使用“服务器管理员登录”凭据。看来 Appveyor 需要访问主数据库,并且服务器管理员登录拥有所有必需的权限。
关于azure - 将 Sql 数据库项目部署到 Azure,但 appveyor 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51161252/