V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
Livid
V2EX  ›  MySQL

MySQL Utilities

  •  
  •   Livid · 2014-06-21 02:01:43 +08:00 · 2915 次点击
    这是一个创建于 3605 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://dev.mysql.com/doc/mysql-utilities/1.3/en/index.html

    其中包括了一个叫做 mysqldiff 的工具,可以用于生成两个数据库之间的不同。

    http://dev.mysql.com/doc/mysql-utilities/1.3/en/mysqldiff.html
    2 条回复    2014-06-21 02:09:52 +08:00
    wzxjohn
        1
    wzxjohn  
       2014-06-21 02:03:14 +08:00 via iPad
    WoW,数据库直接diff啊,有点意思!好好研究一下。。。
    Livid
        2
    Livid  
    MOD
    OP
       2014-06-21 02:09:52 +08:00
    如果在第一次运行 mysqldiff 的时候遇到这个错误:

    ImportError: No module named connector.conversion

    那是因为没有安装 MySQL Connector for Python:

    http://dev.mysql.com/downloads/connector/python/
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1330 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:11 · PVG 01:11 · LAX 10:11 · JFK 13:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.