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