4

I got a DB files that created in My SQL , and I want open them in My SQL WorkBench 6.1. The files I got contains : FRM ,MYD , MYI for each table, and another file calls db.opt. how can I import that to the workbench? enter image description here

thanks.

user2097810
  • 735
  • 6
  • 17
  • 25
  • check the awnser to this question: http://stackoverflow.com/questions/879176/how-to-recover-mysql-db-from-myd-myi-frm-files – M.Scherzer Apr 22 '14 at 22:07
  • Hi how can I find my path to the DB directory? I look here : C:\Program Files\MySQL\MySQL Server 5.5\data\mysql There are files (MYD,MYI,FRM) but not of my schema in the workbench. – user2097810 Apr 22 '14 at 22:11

1 Answers1

5

so first you restore the database in mysql server like explained in the linked anwser. Then you connect the workbench tool to you mysql server to open your database, note sometimes the word schema is used for "database".

to do so you need to create a database connection in workbench, i am just away from my machine. restoring the database in mysql server needs to be done before you can import / sync / reverse engineer the schema into workbench model.

M.Scherzer
  • 921
  • 7
  • 9