I’ve created a Managed MySQL Cluster with the intention of hosting multiple databases for my Wordpress sites. I’ve installed all Wordpress sites with the 1 Click Wordpress Setup, but without checking the Managed MySQL option since that doesn’t allow using an existing Managed MySQL Cluster.
My question is, since all 1 Click Wordpress sites will be linked to this existing Managed MySQL Cluster. I believe there are already preinstalled MySQL and dependencies in the 1 Click setup that are not being used. To keep my droplet as clean as possible, what should be deleted and what is the most efficient way to remove all these redundant files?
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!
Hello,
What you could do is to follow the steps here on how to completely remove MySQL from an existing server:
https://www.digitalocean.com/community/questions/completely-uninstall-mysql-server
It more or less goes like this:
- sudo systemctl stop mysql
sudo apt purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
- sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql
- sudo apt autoremove
- sudo apt autoclean
Hope that this helps. Regards, Bobby
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.