实例一:
1误删除world库里的city.frm文件后,发现city表没了
[root@instance-r5y0pf5d /data/mysql/data/world]# mysql -uroot -p123456
mysql> use world;
Database changed
mysql> show tables;
Empty set (0.00 sec)
2恢复city.frm文件至world文件夹内,并增加mysql用户对该文件的权限
3登陆数据库验证
实例一:
1误删除world库里的city.frm文件后,发现city表没了
[root@instance-r5y0pf5d /data/mysql/data/world]# mysql -uroot -p123456
mysql> use world;
Database changed
mysql> show tables;
Empty set (0.00 sec)
2恢复city.frm文件至world文件夹内,并增加mysql用户对该文件的权限
3登陆数据库验证
某单位一台Netapp存储,该Netapp存储内共有数十块SAS硬盘。工作人员误操作删除了Netapp存储中12个lun,删除的数据包括客户信息和其他重要数据。
MySQL在运行中,如果误删除数据文件,只有服务进程没有退出,那么就有办法将其恢
文件误删除恢复。
![i
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M