MySQL Forums
Forum List  »  MySQL Workbench

Export model to create table
Posted by: Don Pick
Date: July 06, 2019 08:43PM

Running MySql version 5.7 on Windows 7 pro

In WorkBench version 6.3 I am trying to execute the sql code to create a table.
I created a model for tblA
Then I clicked on File > Export > Forward Engineer SQL CREATE script
A screen showing options appears. I selected “Generate DROP statements Before each Create”
I click Next
The sql object export filter appears. I clicked on the SHOW FILTER button and it shows the correct table to be created.

I click Next
Now I see the sql code which will create the table.
I click on Finish and nothing gets created.

So, I redo the steps above except I click on “Save to Other file” and save the script to file named A.sql
But it will not save the script!! I keep getting the message “Invalid argument” but nothing will show me where the invalid argument is.

I have tried to save to several different folders . I made sure every folder has full write privileges because writing a Windows file can fail if privileges are inadequate.

Every time I get the error “Invalid argument” nothing shows me where the bad code is located. This is very frustrating.

Question 1: How do I save the code so I can execute it?

Question 2: is this a bug?

Options: ReplyQuote

Written By
Export model to create table
July 06, 2019 08:43PM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.