How to set the proper connection parameters to connect a SQL Server database in Atom Editor using Data-Atom package? -
i'm trying use data-atom package in atom editor connect sql server 2012 database. can connect database sql server managment studio using windows authentication or sql server authentication. how data-atom-connections.cson
file should using these 2 authentication methods?
my data-atom-connections.cson
file looks this:
[ { name: "windowsauthentication" protocol: "sqlserver" user: "username" password: "password" server: "apphost/username" database: "master" options: "" } { name: "sqlserverauthentication" protocol: "sqlserver" user: "userlogin" password: "password" server: "apphost/sqlexpress" database: "master" options: "" } ]
but error:
error(esocket) - failed connect apphost:1433 - connect econnrefused 192.168.56.1:1433
note: specifying server name saw post logging in sql server
when this pull request merged data-atom should have more luck.
- enter
server\instance
in server field, orserver\\instance
if you're editingdata-atom-connections.cson
directly, connect named instance. - add option
domain=your_domain
options string use windows authentication (see more options sql server here) - if don't want wait code merged upstream , new release, take straight repo , place/link under
~/.atom/packages
. - the protocol part of url has changed
mssql
sql server alignnode-mssql
.
Comments
Post a Comment