- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我需要能够从位于 .mwb 文件中的模型执行正向工程。所有这些都来自命令行,因为我想自动执行该过程。
任何人都可以告诉我这是否可行,如果可行的话如何?
最佳答案
这是使用 --help
调用 WB 后命令行中的输出:
mysql-workbench [<options>] [<model file>]
Options:
--force-sw-render Force Xlib rendering
--force-opengl-render Force OpenGL rendering
--query <connection> Open a query tab to the named connection
--admin <instance> Open a administration tab to the named instance
--model <model file> Open the given EER model file
--script <script file> Execute the given Python or Lua script file
--run <script> Execute the given code in default language for GRT shell
--run-python <script> Execute the given code in Python
--run-lua <script> Execute the given code in Lua
--quit-when-done Quit Workbench when the script is done
--help, -h Show command line options and exit
--log-level=<level> Valid levels are: error, warning, info, debug1, debug2, debug3
--verbose Enable diagnostics output
--version Show Workbench version number and exit
我想您可以使用 --model
选项加载您的模型,然后创建一个脚本来执行正向工程并使用 --run
选项运行它然后使用 --quit-when-done
选项指示 WB 在完成后退出。
您可以查阅 WB 帮助以了解有关创建脚本的更多信息以及 this guide .
关于mysql - 使用 .mwb 文件的命令行转发工程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9556330/
如何将初始表数据导入 .mwb 文件?我知道每个表都有一个 inserts 选项卡,但我想导入大约 200 条记录,我不想手动执行此操作。 最佳答案 现代版本的 MySQL Workbench 是不可
我需要能够从位于 .mwb 文件中的模型执行正向工程。所有这些都来自命令行,因为我想自动执行该过程。 任何人都可以告诉我这是否可行,如果可行的话如何? 最佳答案 这是使用 --help 调用 WB 后
我有一个 .mwb 数据库,但我需要将其加载到我的 phpmyadmin 中(我已经安装了 Wamp)。我尝试安装 mysql workbench,但它检测到另一个 mysql,我取消了安装。 如何将
我有一个 .mwb 格式的数据库。我想在 eclipse 中使用它,所以我需要将其转换为 .sql 格式。如果有人知道如何使用任何工具来做到这一点。我认为我的 sql 工作台可以做到这一点,但不知道如
我有一个 sql 文件,它创建一个包含所有表的数据库。但我想在提供 UI 界面的 MySQL Workbench 中处理数据库。所以我想我需要从 SQL 文件创建的数据库创建一个 MySQL 模型。没
我的 sql 服务器在我的 ubuntu 16.04 服务器上运行,并在本地 mysql 工作台上创建了一个新的数据库架构(.mwb 文件)。我的问题是如何让 ubuntu 上的 mysql 服务器运
我是一名优秀的程序员,十分优秀!