mysql: `driver: bad connection` on query with MySQL 5.7... works fine on 5.6

Issue description

I haven’t been able to get a particular style of query to work on MySQL 5.7, but it works fine against MySQL 5.6 on the same hardware. 100% failure rate in Go right now. — Crashes the connection or something with driver: bad connection every time… and it stays like that for a few requests thereafter.

Example code

See SQL query at: https://github.com/go-sql-driver/mysql/issues/554#issuecomment-322020532

Configuration

I just pulled the latest master, doesn’t work. 😦

Driver version (or git SHA): 2e00b5cd70399450106cec6431c2e2ce3cae5034 Go version: go version go1.6.3 (appengine-1.9.46) darwin/amd64 Server version: 5.7.14-google-log

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 27 (12 by maintainers)

Most upvoted comments

@methane I authed, but still You do not have access to bug #87484..

Results:

  • run via Go on MySQL 5.7 server — FAILS!
  • run via SQL client on MySQL 5.7 server - OK
  • run via Go on MySQL 5.6 server — OK
  • run via SQL client on MySQL 5.6 server - OK