卸载xampp后如何在phpmyadmin中还原数据库 [英] how to restore databases in phpmyadmin after uninstallation of xampp

查看:205
本文介绍了卸载xampp后如何在phpmyadmin中还原数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于XAMPP无法正常工作,因此已从计算机上将其卸载.在安装时,我收到有关是否也要删除htdocs文件夹的警告消息.由于我所有的程序都在htdocs中,因此我尚未将其删除.但是我没有关于数据库的警告消息,因此我忘记了数据库.我也没有备份副本.卸载后,我发现xampp仅包含文件夹htdocs而没有数据库.反正有还原数据库吗?请帮忙.我非常着急,因为数据库中有很多数据和表.

As my XAMPP was not working properly, I have uninstalled it from my computer. While installation, I got the warning message about whether I want to delete the htdocs folder too. As all my programs were in htdocs, I have not deleted it. But I got no warning message about the databases and as a result I have forgotten about the databases. I have no backup copy too. After uninstallation, I found that xampp contains only the folder htdocs and no databases. Is there anyway to restore the databases? Please help. I am very anxious as there were a lot of data and tables in the databases.

推荐答案

根据

According to What is the exact location of Mysql database tables in XAMPP folder?, XAMPP stores the MySQL datadir in C:\xampp\mysql\data on Windows and /Applications/XAMPP/xamppfiles/var/mysql on Mac. Unless you manually changed the datadir, your database files are stored in the XAMPP folder. Since that folder only has the htdocs subdirectory now, unfortunately, your database seems to be gone. If you have file-level backups of the old system, there's a chance you can restore the database enough to recover the stored data.

这篇关于卸载xampp后如何在phpmyadmin中还原数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆