mirror of
https://gitlab.com/2009scape/singleplayer/linux.git
synced 2026-08-01 14:39:15 -06:00
slight script update
This commit is contained in:
parent
73d50eda34
commit
b207b306f2
1 changed files with 3 additions and 0 deletions
|
|
@ -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;"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue