The bug report was https://github.com/go-sql-driver/mysql/issues/139
140 is the fix ;)