Author Topic: Updated WAMP; now I can’t open my localhost site  (Read 162 times)

sahar sani

  • Beginner
  • *
  • Posts: 1
  • A beginner
Updated WAMP; now I can’t open my localhost site
« on: September 13, 2018, 08:10:03 am »
Hello Friends,
I am in trouble  :( :( :( :( :( :(
I am developing a site on a local hard drive using MAMP. I updated the free version of WAMP to 5.1. WAMP suggested that I update my MySQL database after the update, and I did so. Now I can’t load my localhost site, (mod edit: non-VM site link removed) even though the site has not been moved. Safari displays a 404 Not Found error. MySQL Server and Apache Server are both running, and everything else looks the way it did before I updated WAMP. How do I reconnect to my localhost site? MySQL Thank you for your help. 

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 211
    • Bulgarian Computer Store
Re: Updated WAMP; now I can’t open my localhost site
« Reply #1 on: September 13, 2018, 09:16:57 am »
According to the WAMP server's instructions:
Do not install Wampserver OVER an existing version
If you install Wampserver over an existing version, not only it will not work, but you risk losing your existing databases.


I suppose you made a backup of the database and the site before the update.
My advice is:
1. Uninstall the WAMP server.
2. Install the new version of the WAMP server.
3. If you have additional settings in a php.ini or elsewhere, enter them again.
4. Put the site in the appropriate directory.
5. Import the database.

Then everything should work properly.
No pain, no gain, no site!

kishoreonwork

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 56
  • Free Virtuemart Consulting For Non Profits
    • virtuemart expert
  • Skype Name: kishore2607
  • VirtueMart Version: 3
Re: Updated WAMP; now I can’t open my localhost site
« Reply #2 on: September 14, 2018, 15:02:17 pm »
When you install a new version of wamp , mysql version also updated. But your data is never lost (what i remember).

If you see your installation directory you will be able to see  different mysql version

see my installation
D:\wamp\bin\mysql\


now copy your database  from old mysql version to new mySQL version

like
D:\wamp\bin\mysql\mysql5.5.20\data to
D:\wamp\bin\mysql\mysql5.6.12\data


Make sure you take backup your data directory , if any thing wrong happen can be reverted.

Try this trick

Thanks
Kishore


I am available for paid joomla and virtuemart consulting.
http://www.kishoreweblabs.com/
skype kishore2607