1
0
Fork 0
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:
Jimmy Monin 2017-09-11 22:04:37 +02:00
parent 20c957a4d9
commit cc25c1f921

View file

@ -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
#=================================================