Wednesday 23 January 2019

Silly question, but regarding database connections...

Many examples seem to leave the password blank in the connection string, ie:module.exports = { 'connection':{ 'host':'localhost', 'user':'root', 'password':'' }, 'database':'bort', 'user_table':'users' } and when I've tried a few of these, I get connection errors. So... I'm guessing that the password for the DB connection is passed to that module when the server is running, however, I'm not sure how said password would be sent.what could I be missing?

Submitted January 23, 2019 at 05:09PM by 1foryes

No comments:

Post a Comment