How to reinstall Wordpress

I accidentally remove mysql, and my Wordpress become unavailable, how to reinstall my wordpress?


ok mate…thx for the suggestion :d

You should backup your files weekly to another droplet, by using rSync as example ;) Else you’ll still have a Single point of Failure.

Unless you purged the data (which wouldn’t be accidental), reinstalling MySQL and starting the service would get your site running again.

The data should still be there.

Sadly I remove the /var/lib/mysql folder :(

But it’s ok now coz I look for arround and have backup my droplet…so restore it make my database exist again. Next time i’ll be very carefull to delete anything. Thx for the reply mate :d

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Go To your droplet and in Rebuild Droplet select ubuntu WordPress option and click on rebuild

Access your Droplet Dashboard and navigate to the Destroy tab. Below the first option of Destroy you will find an additional box to rebuild the droplet to a specific image, under the name Rebuild Droplet.

**Note from the documentation below: ** “This will rebuild your Droplet using the image specified and its original configuration parameters. The rebuild process will destroy all data currently on this Droplet, so back up anything you want to keep. Rebuilds are limited to base images and snapshots in the same OS family as the Droplet.”

Hope this helps!