views:

21

answers:

1

hi,

how can i import initial table data to .mwb file? i know that there is 'inserts' tab for each table, but i would like to import like 200 records and i don`t want to do this by hand :)

A: 

You can use MySql's LOAD DATA INFILE syntax to load up the records into the table. The LOAD DATA statement is built for bulk imports and is extremely fast compared to INSERT statements.

Faisal Feroz
you can also use the mysqlimport utility. BTW it also issues the LOAD DATA statements.
Tingu
i DO NOT WANT to import data to existing database - i want to set initial table data for MYSQL Workbench model, basically the same question can be viewed here: http://forums.mysql.com/read.php?161,236724,236724#msg-236724
misieg