Re installing Wamp Server without replacing the existing mysql database

匿名 (未验证) 提交于 2019-12-03 08:28:06

问题:

I have some problem with WAMP server installed on my computer, every time I am trying to access a server file in the browser the page keeps on loading for hours and does not give me any errors.

So what I though is to go ahead and install and new one but my existing MySQL database has lot of data inside it that I do not want to loose, I tried to backup the database using command line but no help there as well.

Is there any way I can install a new WAMP server while keeping my existing MySQL database?

回答1:

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"

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.



回答2:

In the "WAMP_LOCATION/mysql/data" folder are the tables for MySQL. You can copy the folder and make a backup.

But you should look that you install the same version again. Sometimes MySQL has a problem with different versions.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!