Amazon EC2实例 - 如何找到SQL Server的密码 [英] Amazon EC2 Instance - How to find SQL Server Password

查看:177
本文介绍了Amazon EC2实例 - 如何找到SQL Server的密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个Amazon EC2实例提供的Windows Server 2008和SQL Sever的2008 pre-安装。现在,为了使用SQL Server创建数据库,或恢复,我有我的本地机器的数据库的备份,我需要sa,密码为SQL Server 2008。

I have created an Amazon EC2 Instance that provides Windows Server 2008 with SQL Sever 2008 pre-installed. Now in order to use the SQL Server for creating databases, or restoring backups of the databases that I have on my local machine, I need the "sa" password for SQL Server 2008.

我已经尝试使用以下,但没有运气:

I have tried using the following but with no luck:

  1. SA
  2. 密码
  3. 在空白密码
  4. 在相同的密码作为我的EC2实例的管理员密码

可能有人请指导我一下,如何开始使用亚马逊EC2数据中心方面的sa的密码。

Could someone please guide me as to how to get started with using the Amazon EC2 Datacenter with respect to the "sa" password.

感谢

推荐答案

在一个新的Amazon EC2小的情况下,为2010-05-31,SQL服务默认情况下禁用。

On a fresh Amazon EC2 "small" instance, as of 2010-05-31, the SQL services are disabled by default.

修正:启用以SQL的任何服务

Fix: Enable any service starting with "SQL".

  1. 在Start..Administrator Tools..Services。
  2. 选择以SQL的每个服务的启动类型设置为自动。
  3. 在启动每一个服务以SQL。
  4. 在一些服务将拒绝启动,不用担心这一点。

现在,你可以返回到SQL Server Management Studio中,一切都会很好地工作。

Now, you can go back into "SQL Server Management Studio", and everything will work nicely.

更新

2010-05-31。我测试了上述说明,并安装一个新的Amazon EC2实例与SQL Server,和一切工作,就像我描述。

2010-05-31. I tested the instructions above, with a fresh Amazon EC2 instance with SQL Server installed, and everything worked just as I described.

更新

2010-10-07。真正的原因Amazon EC2上禁用SQL Server中,默认情况下,在一个小例子是,它实际上并没有足够的内存来运行正常的事情。我甚至不知道他们为什么摆在首位安装它。从痛苦的经验,我建议你运行MySQL,有选择,因为它的速度更快,更轻,或升级到一个中型实例。

2010-10-07. The real reason Amazon EC2 disables SQL Server, by default, on a small instance is that it doesn't actually have enough RAM to run things properly. I'm not even sure why they installed it in the first place. From bitter experience, I'd recommend that you run MySQL, given the choice, as its faster and lighter, or upgrade to a decent sized instance.

更新

另一个原因,SQL是禁用的,默认为:

Another reason why SQL is disabled, by default:

我是pretty的肯定,他们自己想要避免被那个的公司,放开另一个
  code红或SQL监狱蠕虫病毒 - @丹埃斯帕扎

I'm pretty sure they they want to avoid being "that" company that lets loose another
"code red" or "sql slammer" worm - @Dan Esparza

这篇关于Amazon EC2实例 - 如何找到SQL Server的密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆