Skip to content

convert mwb (MySQL Workbench file format) to sql

Notifications You must be signed in to change notification settings

kapil-signity/mwb2sql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mwb2sql

What is this?

mwb2sql is a shell command utility to produce sql file from mwb file (file format of MySQL Workbench).

Usage

on Windows

mwb2sql.bat sample/test.mwb a.sql

on Linux (with GUI)

sh mwb2sql.sh sample/test.mwb a.sql

on Linux (without GUI)

Xvfb :1 &
DISPLAY=:1 sh mwb2sql.sh sample/test.mwb a.sql

Known Issues

  • MySQL Workbench application always displays a window even if a script option is specified.
  • generateSQLCreateStatements function seems to have a option that control the behavior of dumping sql, but the option has no effect. (I can't find the way to enable the option).
    This has been reported to the MySQL team at: https://bugs.mysql.com/bug.php?id=84390 - if interested in a fix please create a bugs.mysql.com account and click the 'Affects me' button.

About

convert mwb (MySQL Workbench file format) to sql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 55.3%
  • Batchfile 44.7%