微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

sqlupdate

程序名称:sqlupdate

授权协议: GPL

操作系统: Windows

开发语言: C/C++

sqlupdate 介绍

sqlupdate 读取 MysqL 的表定义 sql 文件,然后与现有数据库中进行比较,然后生成更新数据库结构的 sql 语句。

sqlupdate v1.6.5 - copyright (C) Joel Yliluoma (http://iki.fi/bisqwit/)

Usage:
    sqlupdate [options] >changes.sql
       (Creates an update script)

Options:
    -t tablefile          Describes the file containing
                          the new sql layout. Default: tables.sql
    -d database           Default: winnie3
    -h host               Default: localhost
    -u user               Default: root
    -i                    Use CREATE INDEX instead of ALTER..ADD KEY
    -m                    Add comments explaining the differences
    -c                    Ignore character set differences
    -p pass
    -r                    Reverse operation. (new->old)

Example:
  ./sqlupdate -t etimgr.sql -d etimgr | MysqL -uroot

This program does not update a database. It only
produces update scripts (which show the differences).

sqlupdate 官网

http://bisqwit.iki.fi/source/sqlupdate.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐