dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

Not able to connect to webapp once I create DB? #667

Closed AlexKhodaverdian closed 8 years ago

AlexKhodaverdian commented 8 years ago

So Right now I'm doing app.use(orm.express("mysql://username:password@localhost:3000/db", { ... } and var server = app.listen(3000, function () .. } However. When I visit app.get('/', function (req, res) { res.send('Hello World!'); }); the page just takes forever to load. If I remove the app.use hello world shows up. Does anyone know whats causing this issue and how to resolve it?

AlexKhodaverdian commented 8 years ago

Nvm Resolved