diff --git a/bin/envs_user_manage b/bin/envs_user_manage index 7e019e1..432cdc9 100755 --- a/bin/envs_user_manage +++ b/bin/envs_user_manage @@ -43,6 +43,7 @@ del_user_db() { mysql -u root << EOF DROP DATABASE $user; +DROP USER $user@localhost; FLUSH PRIVILEGES; EOF }