Add "dump" Makefile target
This commit is contained in:
parent
4f14040747
commit
978b18a867
|
@ -1,3 +1,4 @@
|
||||||
cache/
|
cache/
|
||||||
cmd/database/config.json
|
config.development.json
|
||||||
|
config.production.json
|
||||||
sevenkeys.sql
|
sevenkeys.sql
|
||||||
|
|
|
@ -5,3 +5,5 @@ removedb:
|
||||||
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <database/sql/removedb.sql
|
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <database/sql/removedb.sql
|
||||||
connect:
|
connect:
|
||||||
mysql --user=root --password=$(shell pass show sevenkeys/mysql)
|
mysql --user=root --password=$(shell pass show sevenkeys/mysql)
|
||||||
|
dump:
|
||||||
|
mysqldump --user=root --password=$(shell pass show sevenkeys/mysql) sevenkeys >sevenkeys.sql
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"User": "root",
|
|
||||||
"Passwd": "o7MS6CIn660jIApSP",
|
|
||||||
"Net": "tcp",
|
|
||||||
"Addr": "127.0.0.1:3306",
|
|
||||||
"DBName": "sevenkeys",
|
|
||||||
"AllowNativePasswords": true
|
|
||||||
}
|
|
Loading…
Reference in New Issue