Closed r0zar closed 7 years ago
I'm seeing some issues connecting to a remote sql server instance.
(node:13232) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ConnectionError: Failed to connect to ***.**.**.**:1433 in 15000ms
var pool = sql.connect('mssql://***:***@***.**.**.**/SQLEXPRESS')
In SQL Server, the databases have a name in the MYSERVER/SQLEXPRESS format.
Do I use the first or second part of this for my connect string?
Thanks, RWR
You probably need to enable the TCP/IP protocol.
TCP/IP
Sql Server Configuration Manager
Sql Server Network Configuration
Protocols for {SQL instance}
Enable
SQL Server service
I'm seeing some issues connecting to a remote sql server instance.
(node:13232) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ConnectionError: Failed to connect to ***.**.**.**:1433 in 15000ms
var pool = sql.connect('mssql://***:***@***.**.**.**/SQLEXPRESS')
In SQL Server, the databases have a name in the MYSERVER/SQLEXPRESS format.
Do I use the first or second part of this for my connect string?
Thanks, RWR