Last active
August 29, 2015 14:08
-
-
Save hybrisCole/868f979d8d129247a2da to your computer and use it in GitHub Desktop.
sails-mssql connection configuration sample 0.10.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//package.json | |
"sails-mssql": "git://github.com/jaredfromsubway/sails-mssql.git#master", | |
//connections.js | |
sailsMSSQLServer: { | |
adapter: 'sails-mssql', | |
user: local.sailsMSSQLServer.user, | |
password: local.sailsMSSQLServer.password, | |
host: local.sailsMSSQLServer.host, | |
database: local.sailsMSSQLServer.database | |
} | |
//local.js | |
sailsMSSQLServer: { | |
user: 'user_NAME', | |
password: 'P@ssW#rd', | |
host: '192.168.1.1', | |
database: 'DB_NAME' | |
} | |
//models.js | |
connection: 'sailsMSSQLServer', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment