go-sql-driver/mysql — pull request #214 by fkm3 (2014-02-14 22:54:22+00:00)
Title: Don't try old auth method on closed conn

If `mc.readResultOK()` on line 84 fails because of an EOF, it closes the connection and sets `mc.cfg` to nil and then line 87 panics.