diff options
Diffstat (limited to 'rust/scripts/create_user.sql')
-rw-r--r-- | rust/scripts/create_user.sql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rust/scripts/create_user.sql b/rust/scripts/create_user.sql index b2eaaaa..bc9472b 100644 --- a/rust/scripts/create_user.sql +++ b/rust/scripts/create_user.sql @@ -1 +1,3 @@ -CREATE USER IF NOT EXISTS 'balalaika_user'@'%' IDENTIFIED BY '$input'; +DROP USER IF EXISTS 'balalaika_user'@'%'; +DROP USER IF EXISTS 'balalaika_user'@'localhost'; +CREATE USER 'balalaika_user'@'%' IDENTIFIED BY '$input'; |