-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
21 lines (15 loc) · 688 Bytes
/
Copy pathmakefile
File metadata and controls
21 lines (15 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
up-db:
docker run --name rustenginemysql -e MYSQL_ROOT_PASSWORD=thisisit -p 3306:3306 -v rustengine-mysql-data:/var/lib/mysql -d mysql
down-db:
docker stop rustenginemysql
docker rm rustenginemysql
connect-db:
mysql -u root -p -h 127.0.0.1 --protocol=TCP -P 3306
createtables-db:
mysql -u root -p -h 127.0.0.1 --protocol=TCP -P 3306 < create-script.sql
droptables-db:
mysql -u root -p -h 127.0.0.1 --protocol=TCP -P 3306 < drop-script.sql
createtables-cloud-db:
mysql -u staging_db_user_developer -p -h 35.225.39.87 --protocol=TCP -P 3306 < create-script.sql
droptables-cloud-db:
mysql -u staging_db_user_developer -p -h 35.225.39.87 --protocol=TCP -P 3306 < drop-script.sql