mysqlmysql-workbench

How can I import data into mysql database via mysql workbench?


I created a database in mysql. I have a .sql file. how can i import it into my database via mysql workbench ?


Solution

  • Hope it helps.

    ---Edited answer---

    Regarding selection of the schema. MySQL Workbench (5.2.47 CE Rev1039) does not yet support exporting to the user defined schema. It will create only the schema for which you exported the .sql... In 5.2.47 we see "New" target schema. But it does not work. I use MySQL Administrator (the old pre-Oracle MySQL Admin beauty) for my work for backup/restore. You can still download it from Googled trustable sources (search MySQL Administrator 1.2.17).