summaryrefslogtreecommitdiff
path: root/scripts/create_user.sql
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create_user.sql')
-rw-r--r--scripts/create_user.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/create_user.sql b/scripts/create_user.sql
new file mode 100644
index 0000000..bc9472b
--- /dev/null
+++ b/scripts/create_user.sql
@@ -0,0 +1,3 @@
+DROP USER IF EXISTS 'balalaika_user'@'%';
+DROP USER IF EXISTS 'balalaika_user'@'localhost';
+CREATE USER 'balalaika_user'@'%' IDENTIFIED BY '$input';