Mysql database

Joined
Sep 25, 2017
Messages
1
Reaction score
0
Points
1
While testing mysql work bench I accidentally deleted my database. I have no backup. But still I have see some frm, myi ,and myd files. I had both innodb and myisam tables. So is there any chance at all recovering the db from these files?
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,771
Reaction score
2,111
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
I would recommend you ask this question in a more MySQL-centric forum to get useful responses..
 
Joined
Sep 26, 2017
Messages
1
Reaction score
0
Points
1
Copy all your data folder into mysql/data folder (Folder to Store all database)
Create folder with name of your database under mySql_HOME/data folder OR folder where MYSQL save all database, on linux you can find it from my.ini file.
copy all your .myd, .myi, etc files into that folder and restart it,
I tried this things on windows and it works, and i am able to attached/detached all mySql database on this way.
 
Last edited by a moderator:

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top