golang SQL Server query via go-mssqldb
问题 I'm trying to query SQL Server 2008 R2 using go https://github.com/denisenkom/go-mssqldb. The SQL Server 2008 R2 instance is on a VM under Windows Server 2008 R2; I'm doing the development under the Win 7 VMWare host and running the program from there to query the DB on the VM. The DB has been up and running an app hosted on the server VM. Code is below. The error I'm getting is : [EDIT 2017-03-14 : new error when I specify port] Login error: read tcp 192.168.91.1:15222->192.168.91.135:1433: