mirror of
https://github.com/YunoHost-Apps/netdata_ynh.git
synced 2024-09-03 19:46:33 +02:00
Remove MySQL netdata user when uninstalling
This commit is contained in:
parent
20c957a4d9
commit
cc25c1f921
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ ynh_replace_string "rm -I" "rm -f" ${UNINSTALL_SCRIPT}
|
|||
# Execute the uninstall script
|
||||
./${UNINSTALL_SCRIPT} --force
|
||||
|
||||
# Remove MySQL netdata user
|
||||
ynh_mysql_execute_as_root "drop user 'netdata'@'localhost'; flush privileges;"
|
||||
|
||||
#=================================================
|
||||
# REMOVE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue