Where does WAMP server store database files

后端 未结 2 745
终归单人心
终归单人心 2020-12-28 13:05

My hard-drive has encountered some problems and I am unable to boot Windows with it.

I am able to view the drive\'s contents by connecting it to another PC as an ext

相关标签:
2条回答
  • 2020-12-28 13:21

    On my system, they are in C:\Program Files (x86)\WampServer\bin\mysql\mysql5.1.53\data. So in yours they would be in E:\wamp\bin\mysql\mysql-version\data.

    You can start mysql locally from E:\wamp\bin\mysql\mysql-version\bin, where all the executables are. Be aware that the configuration file you want to use is E:\wamp\bin\mysql\mysql-version\my.ini.

    You can also simply copy all the subdirectories to another server. I'm no MySql expert, but that should let the other server use your databases without problem.

    0 讨论(0)
  • 2020-12-28 13:31

    I needed to re-install Wamp and I recovered my databases by copying the data directory in wamp\bin\mysql\mysql-version\ from a backup, phpMyAdmin picked up the databases and tables.

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