node-mssql icon indicating copy to clipboard operation
node-mssql copied to clipboard

can not connect to sqlserver 2000

Open hubbly opened this issue 10 years ago • 1 comments

I want to use mssql to connect to sqlserver 2000, but not ok, get error below

ConnectionError: Failed to connect to 192.168.2.58:1433 in 15000ms

hubbly avatar Oct 12 '16 10:10 hubbly

Set tdsVersion

new sql.Connection({
    user: '',
    password: '',
    server: '',
    database: '',
    options: {
        tdsVersion: '7_1',
    }
})

iamiota avatar Oct 16 '16 06:10 iamiota