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_db.sh | 6 ++---- scripts/create_db.sql | 1 + scripts/create_user.sql | 4 +--- scripts/populate.sh | 12 ++++++++++-- scripts/populate/api.py | 5 +++-- scripts/populate/database.py | 18 +++++++++++++----- scripts/populate/parser.py | 17 ++++++++++------- scripts/populate/structures.py | 2 +- 8 files changed, 41 insertions(+), 24 deletions(-) (limited to 'scripts') diff --git a/scripts/create_db.sh b/scripts/create_db.sh index c0e759c..4f4a483 100644 --- a/scripts/create_db.sh +++ b/scripts/create_db.sh @@ -1,6 +1,6 @@ #!/bin/bash echo "choose a password for the database:" -read input +read -s input echo "use xampp's version of mariadb? [y/n]" read answer @@ -19,9 +19,7 @@ fi echo "creating database..." $sudo $mariadb -u root <