diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/create_db.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/create_db.sh b/scripts/create_db.sh index ecd239e..29404c1 100644 --- a/scripts/create_db.sh +++ b/scripts/create_db.sh @@ -9,9 +9,8 @@ if [[ $answer == 'y' ]] then sudo="sudo" fi -echo "creating database..." -$sudo $mariadb -u root <<EOF +$sudo mariadb -u root <<EOF CREATE OR REPLACE USER 'balalaika_user'@'%' IDENTIFIED BY '$input'; EOF -$sudo $mariadb -u root < ./scripts/create_db.sql +$sudo mariadb -u root < ./scripts/create_db.sql |