使用SQL Database Migration Wizard把SQL Server 2008迁移到Windows Azure SQL Database
本篇体验使用SQL Database Migration Wizard(SQLAzureMW)将SQL Server 2008数据库迁移到 Azure SQL Database。当然,SQLAzureMV还可以把SQL Server 2005/2012/2014迁移到Azure SQL Database。
SQLAzureMV有几个版本:
1、SQLAzureMW v3x 适用于 .NET Framework 3.5 和 SQL Server 2008 R2 SP1
2、SQLAzureMW v4x 适用于 .NET Framework 4.5 和 SQL Server 2012
3、SQLAzureMW v5x 适用于 .NET Framework 4.5 和 SQL Server 2014
所有的版本下载在这里。
→登录到Windows Azure的"管理门户"
→点击左侧的"SQL数据库"
→点击页面左下方的"新建"
选择合适的"服务层"版本,选择默认的排序规则是"SQL_Latin1_General_CP1_CI_AS",选择服务器,点击右下角的"打勾"按钮。
如果还没有创建服务器,先创建服务器:
点击右下角的"打勾"按钮。
→点击左侧的"SQL数据库"
→点击"服务器"
→点击服务器名称
→点击"配置"
→点击"添加到允许的IP地址",把当前的ip地址添加到"白名单",点击"保存"。
→双击"SQLAzureMV.exe"
→在界面中勾选"数据库",点击"下一步"
→在"连接到数据库..."窗口中,勾选"SQL Server身份验证",填写用户名和密码,指定数据库名称,勾选"保存登录信息",点击"连接"按钮
→在界面中点击"下一步"
→在界面中勾选"为所有对象生成脚本",点击"下一步"
→在"脚本向导汇总"界面中,点击"下一步"
跳出"生成脚本"提示框,点击"是"
→在"结果汇总"界面中,有"执行结果"和"SQL脚本"选项卡,点击"下一步"
注意:如果生成的SQL脚本中有错误、或者不兼容情况,会以红色字体显示,这时候可以把SQL脚本保存到硬盘,再到SQL Server Management Studio中进行修改,修改后,可以在SQLAzureMV直接打开修改好的SQL脚本文件。
→到"管理门户"中复制服务器名称,类似"xxxxxx.database.chinacloudapi.cn"的格式,填写如下:
注意:在用户名称栏,填写可是符合"服务器名称@xxxxxx",@后面的xxxxxx与"xxxxxx.database.chinacloudapi.cn"中的xxxxxx一致。上图中的用户名是不对的。
在跳出的"执行脚本"提示框中,点击"是"。
点击"连接"。
→在界面中点击"下一步"
迁移成功显示如下界面:
→点击"退出"。
→打开"SQL Server Management Studio",在界面中填写相关信息,点击"连接"
注意:
○ 服务器名类似"xxxxxx.database.chinacloudapi.cn"的格式,用户名类似"服务器名@xxxxxx"的格式。
○ 还可以通过https://xxxxxx.database.chinacloudapi.cn/, 来判断地址、用户名、密码是否正确。
○ 如果Sql Sever 2008还没有允许远程连接,参照这里。
→登录成功后,显示如下界面:

至此,使用SQL Database Migration Wizard(SQLAzureMW)将SQL Server 2008数据库迁移到 Azure SQL Database,成功!
使用SQL Database Migration Wizard把SQL Server 2008迁移到Windows Azure SQL Database的更多相关文章
- [Windows Azure] Guidelines for Connecting to Windows Azure SQL Database
Guidelines for Connecting to Windows Azure SQL Database 6 out of 12 rated this helpful - Rate this t ...
- [Windows Azure] Development Considerations in Windows Azure SQL Database
Development Considerations in Windows Azure SQL Database 3 out of 5 rated this helpful - Rate this t ...
- How to Use Lucene.NET with Windows Azure SQL Database
http://social.technet.microsoft.com/wiki/contents/articles/2367.how-to-use-lucene-net-with-windows-a ...
- [Windows Azure] Getting Started with Windows Azure SQL Database
In this tutorial you will learn the fundamentals of Windows Azure SQL Database administration using ...
- [Windows Azure] Windows Azure SQL Database library
Microsoft Windows Azure SQL Database extends SQL Server capabilities to the cloud. SQL Database offe ...
- [转]Azure 表存储和 Windows Azure SQL Database - 比较与对照
本文转自:https://msdn.microsoft.com/library/azure/jj553018 更新时间: 2014年10月 作者:Valery Mizonov 和 Seth Manhe ...
- 安装 SQL Server 2008 时提示需要删除 SQL Server 2005 Express 工具
已安装 SQL Server 2005,安装 SQL Server 2008 时提示需要删除 SQL Server 2005 Express 工具 错误提示:已安装 SQL Server 2005 E ...
- [Windows Azure] Getting Started with Windows Azure SQL Data Sync
Getting Started with Windows Azure SQL Data Sync In this tutorial, you learn the fundamentals of Win ...
- [Windows Azure] Create and use a reporting service in Windows Azure SQL Reporting
Create and use a reporting service in Windows Azure SQL Reporting In this tutorial you will learn ab ...
随机推荐
- Mysql导入脚本失败,提示需要SUPER权限
1.删除: /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ 2.查看增删函数有没有重复 3.删除: set GLOBAL log ...
- Linux获取/dev/input目录下的event对应的设备【转】
转自:https://blog.csdn.net/qq_21792169/article/details/51458855 当我们在Linux操作系统下使用input子系统时,当我们先插鼠标,在插上摄 ...
- 管中窥豹:从Page Performance看Nand Flash可靠性【转】
转自:https://blog.csdn.net/renice_ssd/article/details/53332746 如果所有的page performace在每次program时都是基本相同的, ...
- 常用Javascript集锦【不定期更新】
怎样用javascript删除某个HEML标签 document.getElementById(id).parentNode.removeChild(document.getElementById(i ...
- vue.js 解决空格报错!!!
当我们初入vue.js的时候.使用cli脚手架快速创建项目的时候: 如果语法格式错误(这里主要指的是:空格多少引起的问题)!! 找到 webpack.base.config.js文件注释掉下面的东西 ...
- vuex 的使用
用于多组件共享状态,如果不打算开发大型单页应用,使用 Vuex 可能是繁琐冗余的.确实是如此——如果应用够简单,您最好不要使用 Vuex.可使用简单Bus总线的方式来管理共享的数据详见(http:// ...
- 切换Intellij ieda 调试为Visual Studio风格
- JPA学习
[JPA 简介]JPA(Java Persistence API) JPA 不是一个ORM 的框架, 而是一个ORM 的规范,只指定了一些接口, 具体的实现由应用服务器厂商来提供实现. JPA的实现产 ...
- Docker容器与镜像管理
目录 容器管理 运行容器 容器的启停操作 容器导入导出 容器生命周期管理 容器资源限制 内存限制 CPU限制 io 限制 镜像管理 镜像命名规范 镜像基本操作 容器管理 运行容器 1.运行一个容器示例 ...
- ssh端口转发(之kettle ssh方式连接数据库)
ssh参数解释 格式 ssh [user@]host [command] 选项: -1:强制使用ssh协议版本1: -2:强制使用ssh协议版本2: -4:强制使用IPv4地址: -6:强制使用IP ...