如何将 SQL Server 数据库迁移到 MySQL? [英] How to migrate SQL Server database to MySQL?

查看:55
本文介绍了如何将 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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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