每当我尝试连接到Azure上的我的SQL服务器,我不断收到SQL错误258SQL Server Management Studio中连接2012天青到SQL
Cannot connect to tcp:xxxxxxxxxx.database.windows.net,1433.
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) (Microsoft SQL Server, Error: 258)
我的设置和ODBC连接,并且似乎帮助它建立了联系,但我很困惑它为什么没有连接。我也将我的IP地址列为Azure中允许的IP地址,但仍然没有运气。这里是我试图用SSMS 2012登录:
Server Type: Database Engine Server Name: tcp:xxxxxxxxxx.database.windows.net,1433 Authentication: SQL Server Authentication Login: [email protected] Password: xxxxxxxxxx
Connect to database: xxxxxxx_db Connection time-out: 30 Encrypt: True
我的连接字符串: Server=tcp:xxxxxxxxxx.database.windows.net,1433;Database=database_db;User [email protected];Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;
你的帮助是非常感谢,谢谢!
你能具体谈谈你如何试图使用SQL Management Studio中ODBC连接到从变化?你根本不需要使用ODBC。只需使用管理凭据连接到您的SQL Azure服务器,并使用与本地SQL服务器相同的连接对话框即可。只是不要尝试使用:1433指定端口,只需输入主机名即可。 –