From b207b306f2c2ca44a7c8469e175b8f94945353f2 Mon Sep 17 00:00:00 2001 From: The Ceik Date: Sun, 12 Jul 2020 18:37:15 -0500 Subject: [PATCH] slight script update --- run-linux.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run-linux.sh b/run-linux.sh index 3ecaf11..8c67285 100755 --- a/run-linux.sh +++ b/run-linux.sh @@ -10,6 +10,9 @@ read -r playerChoice initDB() { cd database + if [ ! -d ./data ]; then + mkdir ./data + fi bin/mysqld --console --skip-grant-tables --lc-messages-dir="./share/" --datadir="./data" & sleep 5 echo | bin/mysql -u root -e "CREATE DATABASE server;"