Jump to content

So ... i was converting my Windows Server in to Linux and i backed up EVERYTHING .... except MySQL, i remembered this after i installed Ubuntu so the files did not get overwrote during the switch.

I was able to recover the whole `C:\ProgramData\MySQL\MySQL Server 8.0` directory and files inside.

 

One problem ... i cant just copy that backup over to new MySQL install (i installed MySQL on my Main PC with Windows 10 just to test it and convert everything in to .sql files and back them up)

If i try to do that with the files that actually need to be copied (ibdata, ib_logfileX...) MySQL wont start...

 

Is there any way to recover the InnoDB databases and tables with ibd files or what can i do to recover it in some other way?

I was searching around and everything that i found required some .frm file which i couldnt find anywhere, im guessing MySQL 8 doesnt use them anymore?

 

Imma add some pics of files that i have in to attachments

image.png.55662ee5f26288a9756d446d575ee298.png

And inside the Data folder:

image.png.b5dfc1857a14b2be15b16dc60b1eba4b.png

The most important Database from there is that `admin_tracker`, i need to recover that, other stuff is not really needed ....

Files inside that `admin_tracker` folder:

image.png.ab63e6fc09b20d63b565e87a9fc26f06.png

 

Thank you for any help!

 

 

Link to comment
https://linustechtips.com/topic/1096048-mysql-8-database-recovery/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×