summaryrefslogtreecommitdiff
path: root/scripts/create_user.sql
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-10-02 23:21:43 +0200
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-10-02 23:21:43 +0200
commit7df09f8b146ae7fb091787770fe5681381164f0e (patch)
tree0310d8dad1d0c6198d68d13b22030db3c5e8b28f /scripts/create_user.sql
parent0972fa6eab8c9111311f082ba8abfdc6b4a40945 (diff)
fix database setup
Diffstat (limited to 'scripts/create_user.sql')
-rw-r--r--scripts/create_user.sql4
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';