blob: cddcdd9057e7217f3564f640fd83490e928588a4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
echo "choose a password for the database: 'input;"
read input
echo $(pwd)
echo "creating database..."
sudo mariadb -u root <<EOF
$(cat scripts/create_user.sql)
EOF
sudo mariadb -u root < ./scripts/create_db.sql
|