而连接到云数据库,我遇到了一个问题。
在SQLCMD我用这样的:
sqlcmd -U servername@username -P myPassword -S servername.database.windows.net -d MyFirstCloudTestDB
它是正确的。 该错误消息是:
Msg 40615, Level 14, State 1, Server servername, Line 1
**Cannot open server 'servername' requested by the login. Client with IP address '
124.40.110.238' is not allowed to access the server.**
Msg 18456, Level 14, State 1, Server servername, Line 1
Login failed for user 'username'.
我不知道该怎么办!