简体   繁体   English

MySQL的SQL迁移助手

[英]SQL Migration Assistant for MySQL

I want to convert my MySQL database to SQL Server, so that I can migrate my website into Azure. 我想将MySQL数据库转换为SQL Server,以便可以将网站迁移到Azure。

I have two problems: 我有两个问题:

  1. I downloaded SQL Server Migration Assistant for MySQL . 我下载了MySQL的SQL Server迁移助手 I expect to see a "Connect to SQL Server" button, but there is only a "Connect to SQL Azure" button instead. 我希望看到一个“连接到SQL Server”按钮,但是只有一个“连接到SQL Azure”按钮。

  2. "OK" I said. “好的”我说。 "Why not convert it directly into Azure?" “为什么不将其直接转换为Azure?” So I created an Azure account, and a SQL database in it. 因此,我创建了一个Azure帐户和一个SQL数据库。 But when I tried to connect the MySQLToSQL to SQL Azure, it asks for user name, so I put my account email, "xyz@hotmail.com". 但是,当我尝试将MySQLToSQL连接到SQL Azure时,它要求输入用户名,因此我在帐户中输入了电子邮件“ xyz@hotmail.com”。 It complained that "Cannot open server hotmail.com requested by the login". 它抱怨“无法打开登录请求的服务器hotmail.com”。 If I use "xyz", it complains "incorrect user name or password." 如果我使用“ xyz”,则会抱怨“用户名或密码不正确”。

So what is my user name and password? 那我的用户名和密码是什么? I am totally new to Azure. 我对Azure完全陌生。

When you create a new project you specify the target database version in the Migrate To dropdown box. 创建新项目时,请在“ Migrate To下拉框中指定目标数据库版本。 The default is SQL Azure . 默认值为SQL Azure I suspect you didn't check the dropdown and created a project with the default value. 我怀疑您没有检查下拉菜单,而是使用默认值创建了一个项目。

If you select another version, eg SQL Server 2016 or SQL Server 2014 you'll be able to use the Connect to SQL Server button. 如果选择其他版本,例如SQL Server 2016SQL Server 2014 ,则可以使用“ Connect to SQL Server按钮。

带有本地选择的“新建项目”对话框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM