If you want to uninstall MySQL after completing the LNMP installation, you can use the following commands:
|
|
Executing the commands above will uninstall MySQL. If you want to clean up more thoroughly, you can optionally execute the following commands:
|
|
Please note: Before deleting MySQL, make sure to back up your existing databases.