Error with go-sql-driver/mysql/utils.go:81: undefined: cloneTLSConfig
go get -v -u github.com/go-sql-driver/mysql
github.com/go-sql-driver/mysql (download)
github.com/go-sql-driver/mysql
# github.com/go-sql-driver/mysql
../../../github.com/go-sql-driver/mysql/utils.go:81: undefined: cloneTLSConfig
Driver version (or git SHA):
?
Go version: run go version in your console
1.6
Server version: E.g. MySQL 5.6, MariaDB 10.0.20
MySQL 5.6
Server OS: E.g. Debian 8.1 (Jessie), Windows 10
Debian 7
Go 1.7 or higher is required for this package.
Hi,
I'm sorry to reply but I still have this problem with go 1.9
Did anyone find another solution to this?
Thank you
Currently having this problem on App Engine (using flexible environment), my gopath is good, other stuff works, go version 1.9.1, and still that cloneTLSConfig error
Complete step to reproduce????
Same issue here @alabastida, I'm using Ubuntu 16.04.3 LTS and Go 1.10.
My $GOPATH is $HOME/go which is /home/martin/go within my terminal.
Steps to reproduce:
Run go get github.com/go-sql-driver/mysql
@mdsantosdev I can't reproduce, with both of Go 1.9 and 1.10.
go version and go env to gist.mv $GOPATH gopath_back)
Most helpful comment
Go 1.7 or higher is required for this package.