I'm trying out to connect to MySQL 8 with support added in master (https://github.com/go-sql-driver/mysql/pull/794). What I'm doing wrong? I've made a repository to test this https://github.com/arvenil/mysql-test and you can check latest commit to master for the result https://github.com/arvenil/mysql-test/runs/1221644 (BTW new travis integration is really cool). Every database image/version passes except MySQL 8 which errors with malformed packet error: https://travis-ci.com/arvenil/mysql-test/jobs/125123277
I can confirm. If I run a local mysql:8.0 docker container, I get the same error. Investigating...
My first guess is that empty passwords are the problem. If I set a root password it works fine.
Most helpful comment
My first guess is that empty passwords are the problem. If I set a root password it works fine.