Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The MySQL Workbench seems to be a nice tool for create database schemata.

When I export a model, there is a checkbox for "create insert statements". Thus, it should have an option to fill one's tables with data, but I can't find it anywhere.

So how to add data to your tables in MySQL workbench? Or, what tools do you recommend for this task?

share|improve this question
up vote 1 down vote accepted

Typically you build your schema in MySQL and you either let the app using the database populate itself with data over time, or you'll be importing existing data from an existing system using some level of scripting or programming, possibly/probably an extension of whatever system will be using the database.

I suppose certain test cases may exist where you'd want to use Workbench to generate some data; or maybe you want to populate some lookup tables at schema creation, but I'd think there would be better/easier ways...Regardless, MySQL's official documentation for this is here.

share|improve this answer

Two related answers:

Generally, you can edit data in the "Result Grid" in the SQL Editor. From the Schemas Navigator (left pane), right-click on a table and select "SELECT Rows - Limit 1000". This opens a "Result Grid" tab in the SQL Editor. Simply click the cells and add data. On the right you'll see that "Result Grid" is selected by default, and you can change it to "Form Editor" for another input method. Workbench 6.2 simplifies this by adding icons next to each table in the object navigator, including one to select all rows.

For Models, double click on a table (or, right-click on a table and choose "Edit Table"), then go to the "Inserts" tab (you'll see it near the bottom). This field editor is similar to the results grid editor mentioned above. After making your additions (inserting rows), click the checkbox next to "Apply". These entries will be added as a transaction.

share|improve this answer
How does this answer the question? – Canadian Luke Jun 17 '14 at 22:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.