1

I'm trying to restore an old MySQL database and its tables by using the .frm and .ibd files.

First I tried restoring the structure by using the following command I found in another post:

mysqlfrm.exe --server=root:password@localhost "C:/location_of_file/file.frm" --port=3307

When I execute the command it says the following: "ERROR: Cannot find location of mysql_system_tables.sql."

Where is this file stored? Or do I have to execute this command in a specific location?

  • Why are you using this method? Can you start an older version of mysql and take a dump of these tables (this would be cleaner)?. There is github.com/mysql/mysql-server/blob/5.6/scripts/…, however its largely dependent on the version you are restoring so select the right version. – danblack Oct 29 '18 at 0:07
  • What version of MySQL? Did you save ibdata1? – Rick James Oct 29 '18 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.