chore: delete user on the unix socket as well
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
parent
004ddacbf1
commit
ca7fc2c17d
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ def drop_user_and_database(db_name, root_login, root_password):
|
|||
frappe.local.db = get_root_connection(root_login, root_password)
|
||||
dbman = DbManager(frappe.local.db)
|
||||
dbman.delete_user(db_name, host="%")
|
||||
dbman.delete_user(db_name)
|
||||
dbman.drop_database(db_name)
|
||||
|
||||
def bootstrap_database(db_name, verbose, source_sql=None):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue