我在连接到云数据库时遇到问题。
在 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'.
我不知道该怎么办!