doufuhao0566 2017-02-23 10:55 采纳率: 100%
浏览 196
已采纳

在wampserver上复制数据库和网站文件夹

I had installed my wampserver on Local Disk D. Yesterday because my machine was infected with virus I had to format it. Since I would format Local disk C and not D I did not see the need to backup my website and database as they would be available on D and once I needed the project I would just copy paste as I have been doing for sometime. After formatting, I copied the database from the previous wamp data folder D:\wamp\bin\mysql\mysql5.6.17\data\database_name to my new installation C:\wamp\bin\mysql\mysql5.6.17\data\database_name. I did the same to my website i.e. from D:\wamp\www\website to C:\wamp\www\website. However, the project seems not to work as it was working on the previous installation. What am I missing or are there other files I need to copy?

  • 写回答

1条回答 默认 最新

  • dongqiancui9194 2017-02-23 11:01
    关注

    If the old WAMPServer was installed on the D: drive and you did not format that drive, then you can just reinstall the Apache and MYSQL services from there.

    I would remove the new install (uninstall) and then do this

    Make a shortcut of D:\wamp\wampmanager.exe and and place it on your desktop.

    Launch WAMPServer from this new shortcut.

    Using the wampmanager menus do

    left click wampmanager icon -> MYSQL -> Services -> Install Service
    
    left click wampmanager icon -> Apache -> Services -> Install Service
    

    WAMPServer should be back as it was originally.

    If you are using WAMPServer 3 > the menu items names changed a little to

    left click wampmanager icon -> MYSQL -> Service Administration -> Install Service
    
    left click wampmanager icon -> Apache -> Service Administration -> Install Service
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码