diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index 88dd639..f2a5981 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -1140,6 +1140,9 @@ class WOStackController(CementBaseController): WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/" "libexec/netdata/netdata-" "uninstaller.sh -y -f") + if WOShellExec.cmd_exec(self, 'mysqladmin ping'): + WOMysql.execute( + self, "DELETE FROM mysql.user WHERE User = 'netdata';") if (apt_packages): Log.wait(self, "Purging APT Packages ")