How to migrate SQL Server database to MySQL?(如何将 SQL Server 数据库迁移到 MySQL?)
问题描述
我有一个包含大量数据的 SQL Server 数据库和一个空的 MySQL 数据库.现在我想将SQL Server数据库的所有数据(包括数据库架构)复制到MySQL数据库中.
I have a SQL Server database with lots of data and an empty MySQL database. Now I want to copy all data of SQL Server database (including the database schema) to the MySQL database.
我想过使用原始 SQL 转储,但 SQL Server 的 SQL 语法与 MySQL 不同.
I thought about using raw SQL dump, but SQL Server's SQL syntax is not same as MySQL.
而且我在谷歌上搜索了一些数据库迁移工具,例如 south(仅适用于 django)、simple-db-migration(仅适用于一种类型的数据库,可能是 PostreSQL?) 和 SQLAlchemy(我还没学完,只是觉得它有点笨拙).
And I have googled some database migration tool, such as south (only for django), simple-db-migration (only for one type of database, maybe PostreSQL?) and SQLAlchemy (I haven't finished learning it, just feeling it somewhat clunky).
我可以使用什么工具来执行此迁移?
What tool can I use to do this migration?
推荐答案
我通常使用 opendbcopy 来处理这些类型的工作...
I'm usually using opendbcopy for these kind of jobs ...
这篇关于如何将 SQL Server 数据库迁移到 MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将 SQL Server 数据库迁移到 MySQL?
基础教程推荐
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 带更新的 sqlite CTE 2022-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
