Add "dump" Makefile target

This commit is contained in:
The Magician 2024-09-12 13:20:24 +01:00
parent 4f14040747
commit 978b18a867
3 changed files with 4 additions and 9 deletions

View File

@ -1,3 +1,4 @@
cache/
cmd/database/config.json
config.development.json
config.production.json
sevenkeys.sql

View File

@ -5,3 +5,5 @@ removedb:
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <database/sql/removedb.sql
connect:
mysql --user=root --password=$(shell pass show sevenkeys/mysql)
dump:
mysqldump --user=root --password=$(shell pass show sevenkeys/mysql) sevenkeys >sevenkeys.sql

View File

@ -1,8 +0,0 @@
{
"User": "root",
"Passwd": "o7MS6CIn660jIApSP",
"Net": "tcp",
"Addr": "127.0.0.1:3306",
"DBName": "sevenkeys",
"AllowNativePasswords": true
}