Mysql: Compile fails with undefined: cloneTLSConfig

Created on 26 Nov 2017  路  6Comments  路  Source: go-sql-driver/mysql

Issue description

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

Configuration

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

Most helpful comment

All 6 comments

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.

  1. Paste output of go version and go env to gist.
  2. Try clean install (mv $GOPATH gopath_back)
Was this page helpful?
0 / 5 - 0 ratings