golang 访问 sql server 2008 express sp1异常

发布于:2021-10-26 04:54:21

状况

wsarecv an existing connection was forcibly closed by the remote


编译环境

GOARCH="amd64"
GOBIN=""
GOCACHE="/home/xxx/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/xxx/workspace/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build273102083=/tmp/go-build -gno-record-gcc-switches"

sql driver

github.com/denisenkom/go-mssqldb 分支 master


运行环境

windows 7


解决方案

安装sql server 2008 service pack 4


参考

issues#329

相关推荐

最新更新

猜你喜欢