通过 SSMS 连接时的云数据库问题

发布于 2024-08-09 03:25:37 字数 589 浏览 3 评论 0原文

我已经创建了一个云数据库,并且能够通过 SSMS 成功连接。 现在我想在其中创建一个表。

从今以后,在成功连接后(通过 SSMS 进行),当我尝试连接到数据库(即 MyFirstCloudDB 数据库)时,该数据库在可用数据库 部分,我收到错误消息“数据库 MyFirstCloudDB”不可访问。

现在该怎么办?

编辑:

我成功地完成了我的工作。

但我所做的是,在通过 SSM 登录到我的 SQL AZURE 平台后,首先我创建了一个数据库(比如 myFirstDB)。 然后我退出了。我再次连接,这次在“选项”->“连接到数据库”->我键入 myFirstDB,然后连接。 之后我创建了一个表并插入了一些值。

我之所以添加此段落,是因为我认为如果像我这样的人面临同样的问题,那么他们可以继续使用此解决方案。

感谢 Rob Farley 先生与我一起度过的大力支持。这段旅程以及所有 SO 成员。这个论坛真的很棒(:

请帮忙。

I have created a cloud database and was able to connect successfully thru SSMS.
Now I want to create a table in that.

Henceforth after the successful connection ( in am doing thru SSMS) when I am trying to connect to the database i.e. MyFirstCloudDB database which is available in the Available Databases section of SSMS, I am getting the error message " The database MyFirstCloudDB" is not accessible.

What to do now?

EDIT:

I have success accomplished my work.

But what I have done is that after I logged in to my SQL AZURE platform thru SSMs, first I created a database(say myFirstDB).
Then I logged out. Again I connected and this time Under Options->Connect to Database->I typed myFirstDB and then connected.
After that I created a table and inserted some values.

I have included this paras by thinking that if someone like me face the same problem then they can go ahead with this solution.

Thanks for the great support of Mr. Rob Farley for being with me in this journey and also to all the SO members. This forum is really really great (:

Pls help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ぇ气 2024-08-16 03:25:37

您需要以管理员登录身份登录到新数据库,并为新登录创建一个用户。然后再次尝试以新登录名进行连接。

You need to login to your new db as your admin login and create a user for your new login. Then try connecting as the new login again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文