当前位置: 首页 > 工具软件 > go-github > 使用案例 >

Go语言go get github.com/go-sql-driver/mysql提示连接失败connection failed

晋奕
2023-12-01
E:\GO_WorkSpace>go get github.com/go-sql-driver/mysql
go get: module github.com/go-sql-driver/mysql: Get "https://proxy.golang.org/github.com/go-sql-driver/mysql/@v/list": dial tcp 142.251.43.17:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

解决方法:

go env -w GOPROXY=https://goproxy.cn

 类似资料: