# Log into MariaDB (MySQL) console

mysql -u root -p


# While inside the MariaDB console,
# drop the 'escape' database,
# and create it again.

drop database escape;
create database escape;
ctrl-d


# Import SQL commands into MariaDB
# to create starting data.

cd escape-reality/db
mysql -u root -p escape < sql-to-mock-database.sql
# Step 1: ---------------------------------------------
# Log into MariaDB (MySQL) console

mysql -u root -p


# Step 2: ---------------------------------------------
# While inside the MariaDB console,
# drop the 'escape' database,
# and create it again.

drop database escape;
create database escape;
ctrl-d


# Step 3: ---------------------------------------------
# Restart Node to make Sequelize
# create the initial tables

node server/server.js


# Step 4: ---------------------------------------------
# Import SQL commands into MariaDB
# to create starting data.

cd escape-reality/db
mysql -u root -p escape < sql-to-mock-database.sql
Add step to restart Node server
Add step to restart Node server

- Before the SQL "insert" commands can work, the tables must exist.
Therefore, we need to restart the Node server to have Sequelize make the
tables first if they don't already exist.
