MySQL Workbench! Add a prefix for all tables

Is it possible to set the table prefix in the MySQL workbench?
For example: I created a complete pattern (table_1, table_2, table_3,… table_N), and I want Workbench to add a prefix to each table in the pattern when I execute Forward Engineering.
I want to use it in the SQL script See something similar

CREATE TABLE IF NOT EXISTS `mydb`.`myprefix_table_1`...

Open the model or EER, select Tools-> Table of Contents-> “Provide a prefix for all tables from the table of contents”.

Is it possible to set table prefix in MySQL workbench?
For example: I created a complete pattern (table_1, table_2, table_3,… table_N), and I want Workbench to add a prefix to each table in the pattern when I execute Forward Engineering.
I want to use it in the SQL script See something similar

CREATE TABLE IF NOT EXISTS `mydb`.`myprefix_table_1`...

Open the model or EER, select Tools-> Catalog-> “Provide a prefix for all tables from the catalog”.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2928 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.