By LilyM
I installed the server and wp on it.But when i try to login it fails.
When i try to recover thorugh email it says not possible.It says
The e-mail could not be sent. Possible reason: your host may have disabled the mail() function.
So i want to completely remove my wp install how to do that?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Assuming you are using the WordPress one-click image you can remove wordpress by taking a couple quick steps:
1.) Remove your web files:
rm -Rf /var/www/html/*
2.) Remove your database. First grab the mysql root password (this is shown in the MOTD shown when you log in via ssh).
mysql -uroot -p
you will be prompted for the password and after entering it you’ll be at a mysql client prompt
DROP DATABASE wordpress;
then you can close the mysql client with
exit;
One thing I feel I should note. If you create a droplet without an ssh key, the password emailed to you is your SSH password for the root user only. It is not used for anything else. That password is temporary and you must log in via ssh once to change it and to complete the WordPress setup (this is to prevent a new WordPress droplet from being susceptible to hijacking before you set it up).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.