简体   繁体   English

重新安装WAMP后找不到我的数据

[英]Can't find my Data after Re-Installing WAMP

i'm having trouble with my WAMPserver, so here is the problem, i am upgrading my WAMP with the new version so i uninstalled my wamp and reinstall it again with the new version, and I forgot to make backup for my data 我在使用WAMPserver时遇到问题,所以这是问题,我在用新版本升级WAMP,所以我卸载了wamp,然后用新版本重新安装,我忘了备份数据了。

the current version is wampserver 2.5 64bit, mysql 5.6.17 i still have all the frm, myi, myd, ibdata0, ibdata1, ibdata etc and in the localhost/phpmyadmin, my table showed up but i can't access it giving error sign "#1146 table xx.xxx doesn't exist", and that also means i can't see my data 当前版本是wampserver 2.5 64bit,mysql 5.6.17,我仍然拥有所有的frm,myi,myd,ibdata0,ibdata1,ibdata等,并且在localhost / phpmyadmin中,我的表出现了,但是我无法访问它,给出了错误标志“#1146表xx.xxx不存在”,这也意味着我看不到我的数据

i am using InnoDB table, are my data gone? 我正在使用InnoDB表,我的数据不见了? or i still can recover it? 还是我可以恢复?

any help would be appreciated Thanks 任何帮助将不胜感激谢谢

My answer is that your data is all gone. 我的答案是您的数据全部用光了。 Your table is there because it kept a structure of previous schema. 您的表在那里,因为它保留了先前架构的结构。 Not sure if you can recover it. 不知道是否可以恢复它。

Why do you have to uninstall before install the latest one? 为什么在安装最新版本之前必须先卸载? You can just install on top of an existing installation I guess and it will only upgrade your version. 我猜您可以仅在现有安装之上安装,并且只会升级您的版本。

Always remember the best way is to do regular backups. 永远记住最好的方法是进行定期备份。 Use a scheduler or cron to automate this thing and put the backup into a cloud drive just to be safe. 为了安全起见,请使用调度程序或cron来自动执行此操作,然后将备份放入云驱动器。

(Sorry if I'm wrong. Long time since I used WAMP ) (对不起,如果我错了。自从我使用WAMP很久以来)

If you're on windows 7, have you tried right clicking on the folder the data files are stored in, and clicking "Restore to previous version"? 如果您使用的是Windows 7,是否尝试过右键单击存储数据文件的文件夹,然后单击“还原到以前的版本”? If that option is available, it can save your butt in a case like this. 如果该选项可用,它可以在这种情况下节省您的屁股。 I think it depends on windows system restore settings, but it's worth a shot. 我认为这取决于Windows系统还原设置,但值得一试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM