更新时间:2021-07-18 23:05:09
Wamp服务器将所有mysql数据库表存储在WAMP_DIR_LOCATION\bin\mysql\mysql5.5.16\data
中的.frm格式中,您需要将此"data"
文件夹重命名为"data-old"
The wamp server stores all of mysql database table in .frm formate inside WAMP_DIR_LOCATION\bin\mysql\mysql5.5.16\data
you need to rename this "data"
folder to "data-old"
重新安装wamp服务器后,只需将"data-old"
文件夹重命名为"data"
,这样就不会丢失数据库.
And when you have reinstall the wamp server just rename the "data-old"
folder to "data"
In this way you will not lose your database.