3

How can I forward engineer a Workbench model with my given name of the database scheme?

Yes I can edit it in the editor window shown on the image, but what if I have 30 tables to export as SQL code?

Yes I can use find/replace tool before executing the exported SQL, but you can forget to use it and therefore export scheme with wrong name. I also have to drop "mydb" to keep MySQL clean.

Or is it at all possible?

As shown on the image I want to replace "mydb" with for example "animalsDB"

mysqlworkbench

4

2 回答 2

4

为了避免合格的对象标识符(包括模式)设置选项如镜像所显示的正向工程操作。

在此处输入图像描述

于 2014-02-19T07:56:16.940 回答
3
  1. 首先,您打开模型。然后选择“mydb”来编辑模式名称。
  2. 重命名您的架构名称。现在您的架构名称已更新。
  3. 像以前一样继续“正向工程”。如您所见,数据库名称已更改。
于 2018-04-24T01:50:10.357 回答