on 05-16-2016 5:57 PM
I accidentally deleted my database while testing mysql work bench.as its a relatively new db on a new server I had no back up running. Luckily I can see some frm, myi ,and myd files. afaik i had both innodb and Myisam tables and some stored procs. So is there any chance at all recovering the db from these files.
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. In a pinch, you can use the utility MySql Recovery Toolbox and try to restore your database. I think that you will succeed. http://www.oemailrecovery.com/mysql_recovery.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can still read this resource for more information on your issue.
Thank you all for your advice! The issue has been resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frank;
FWIW: I think that you would be more successful asking this question on a MySQL support forum.
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.