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?
基础教程推荐
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
- oracle区分大小写的原因? 2021-01-01
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- 在多列上分布任意行 2021-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
