Restore Database in WAMP

后端 未结 6 553
广开言路
广开言路 2021-01-22 10:46

I had few databases related to different projects in the WAMP. I don\'t know what happened, Today, when I go to PhpMyAdmin, I was just able to see the default databases and rest

相关标签:
6条回答
  • 2021-01-22 11:10

    Copy data folder and reinstall same version of WAMP.
    Once installation is completed, go to data folder: inside replace only ibdata1 file from existing folder.
    After starting WAMP, check phpmyadmin: you'll get all database and tables with data.

    0 讨论(0)
  • 2021-01-22 11:14

    You can copy these file to another location and reinstall the same WAMP version after installtation copy them back to original location. Please note that your WAMP version should be same, because if the version will change then mysql version will also be change.

    0 讨论(0)
  • 2021-01-22 11:17

    Another method is to utilise Window's "Restore previous versions" feature. Right click the wamp folder (usually in C:\, click Restore previous versions and select the most recent date you know it was working.

    Note: This will also revert mysql data - so you'll lose any changes after the date you select, but I have used this in the past when I needed to get my whole wamp system back to a working state when something had broken it.

    0 讨论(0)
  • 2021-01-22 11:23

    Copy the complete data folder from old wamp mysql folder to new mysql folder and then inside data folder change the name of the file mysql-bin.index to mysql-bin.index-corrupt. Then restart WAMP. That's all.

    0 讨论(0)
  • 2021-01-22 11:25

    reinstall Wamp Server that must be same version. After reinstall if wamp show red icon 1. go to wamp -> apache -> services ->test port 80. if its available . then apache -> services -> install services. 2. mysql-> services -> install services. after that restart wamp.. 100% work

    0 讨论(0)
  • 2021-01-22 11:31

    Have you checked my.ini file? Just find datadir it should refer to db folder (e.g datadir=D:/Wamp/bin/mysql/mysql5.1.30/data) - goodluck :)

    0 讨论(0)
提交回复
热议问题