Obsolete
/
dnsmanagerv1
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dnsmanagerv1/init/recreate.sh

11 lines
350 B
Bash
Executable File

#!/bin/bash
PASS="not-so-dummy"
mysql -u root --password=${PASS} < remove-db.sql
mysql -u root --password=${PASS} < remove-user.sql
mysql -u root --password=${PASS} < init-create-db.sql
mysql -u root --password=${PASS} < init-create-user.sql
mysql -u root --password=${PASS} < init-grant-user.sql
mysql -u root --password=${PASS} < init-tables.sql