jpotts18/mean-stack-relational

missing DB create scripts and documentation

Closed this issue · 3 comments

I dont see any documentation about how to create the DB. The DB name is "mean_relational", but searching for this string only finds files in /config/env/. I'm wondering where the SQL dump file is to create the mean_relational db? When I run the app I get an error SequelizeConnectionError: ER_BAD_DB_ERROR: Unknown database 'mean_relational'. Please advise.

crdil commented

I believe you need to create the database in MySQL first. "> create database mean_relational;"

yes, I figured that out. Ive got it running now.
The readme should probably be ammended to show that.
//smc

it might be good to add that to the readme.md step 5... add instruction to create the blank database and the install scripts will create the needed tables and sample data.