Advertisement
Guest User

Untitled

a guest
Aug 15th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. var sql = require('mssql');
  2.  
  3. var config = {
  4. user: 'sa',
  5. password: '1.password.1',
  6. server: 'localhost\\SQLEXPRESS', // You can use 'localhost\\instance' to connect to named instance
  7. database: 'epi'
  8. }
  9.  
  10. sql.connect(config, function(err){
  11. if(err != null)
  12. console.log(err);
  13.  
  14. console.log(sql);
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement