diff --git a/seed/bootstrap_inserts_roles_etc.sh b/seed/bootstrap_inserts_roles_etc.sh index 0c30f7959b..fdf2fc31ed 100755 --- a/seed/bootstrap_inserts_roles_etc.sh +++ b/seed/bootstrap_inserts_roles_etc.sh @@ -1,19 +1,23 @@ #!/bin/bash # ONLY FOR LOCAL DEV +USERNAME='storyteller' +PASSWORD='password' +HOST='localhost' + # --default-character-set=UTF8mb4 \ echo 'Inserting System User Roles...' -mysql -u storyteller \ - -ppassword \ - -h localhost \ +mysql -u "${USERNAME}" \ + -p${PASSWORD} \ + -h $HOST \ -D storyteller \ -e "source ./seed/sql/system_roles.sql" echo 'Inserting Badges...' -mysql -u storyteller \ - -ppassword \ - -h localhost \ +mysql -u $USERNAME \ + -p${PASSWORD} \ + -h $HOST \ -D storyteller \ -e "source ./seed/sql/user_badges.sql"