diff --git a/lib/databases/mysql b/lib/databases/mysql index 62c3d4c90e..1c74c03735 100644 --- a/lib/databases/mysql +++ b/lib/databases/mysql @@ -23,7 +23,7 @@ function cleanup_database_mysql { if is_ubuntu; then # Get ruthless with mysql stop_service $MYSQL - uninstall_package mysql-common mariadb-common + apt_get purge -y mysql* mariadb* sudo rm -rf /var/lib/mysql sudo rm -rf /etc/mysql return