A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Scalable compute services.
Simple object storage.
Tools & Integrations
Automate your infrastructure.
Connect, share and learn
DevOps and development guides
Questions & Answers
Development and systems Q&A
by Justin Ellingwood
I accidentally remove mysql, and my Wordpress become unavailable, how to reinstall my wordpress?
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
You should backup your files weekly to another droplet, by using rSync as example ;) Else you'll still have a Single point of Failure.
ok mate..thx for the suggestion :d
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
Go To your droplet and in Rebuild Droplet select ubuntu WordPress option and click on rebuild