From 7df09f8b146ae7fb091787770fe5681381164f0e Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Wed, 2 Oct 2024 23:21:43 +0200 Subject: fix database setup --- scripts/create_user.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/create_user.sql') 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'; -- cgit v1.2.3