【发布时间】:2017-08-20 19:09:03
【问题描述】:
我已经创建了一个 Azure VM 以及 sql server。我可以很好地连接到它。我能够创建数据库。我的目标是完全迁移到蔚蓝云。
我在本地本地创建了一个出版物。
现在我正在尝试将 Azure db 设置为订阅者
错误
Cannot connect to myazuredatabase.westus.cloudapp.azure.com,1433.
===================================
SQL Server replication requires the actual server name to make a connection to the server. Specify the actual server name, 'myazuredatabase'. (Replication.Utilities)
我遵循了复数指南,它有点过时了。我确实有 DNS 名称等。有什么问题?
【问题讨论】:
-
您是在 VM (IaaS) 中使用 SQL,还是在 SQL Server 中使用 SQL DB (PaaS)?
-
VM 中的 IaaS - 我这样做主要是因为很多年前 PaaS SQL 不一样且受到限制...
-
@@servername返回什么 -
还要确保在 SQL Native Client Configuration 和 SQL Native Client Configuration(32bit) 下添加别名。
标签: sql sql-server azure azure-sql-database azure-virtual-machine