don't reset password for local MySQL users
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b543f0eb0c
commit
87470e1f3b
|
@ -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;
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue