don't reset password for local MySQL users
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Max Erenberg 2022-05-23 23:01:09 -04:00
parent b543f0eb0c
commit 87470e1f3b
1 changed files with 0 additions and 1 deletions

View File

@ -70,7 +70,6 @@ class MySQLService:
password = gen_password()
search_for_user = f"SELECT user FROM mysql.user WHERE user='{username}'"
reset_password = f"""
ALTER USER '{username}'@'localhost' IDENTIFIED BY %(password)s;
ALTER USER '{username}'@'%' IDENTIFIED BY %(password)s;
"""