summaryrefslogtreecommitdiff
path: root/scripts/create_user.sql
diff options
context:
space:
mode:
authornil <nil@tfwhyno.gf>2024-10-02 17:48:56 +0200
committernil <nil@tfwhyno.gf>2024-10-02 17:48:56 +0200
commit0972fa6eab8c9111311f082ba8abfdc6b4a40945 (patch)
tree4eedbdc1a7cfdeee9d651c9871a9f26ab6da56d4 /scripts/create_user.sql
parent012c2c03b29a987ca4eead023ded22e01aa7477b (diff)
commit changes
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';