How to reinstall Wordpress

Posted April 6, 2015 5.4k views
Ubuntu MySQL WordPress

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 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

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.

1 answer

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

Submit an Answer