Check length of auth method switch payload for detecting old protocol. by kobake · Pull Request #316 · mysql-net/MySqlConnector

Single 0xfe byte of the payload means it's an Old Authentication Method Switch Request Packet. See http://imysql.com/mysql-internal-manual/connection-phase-packets.html When MySqlConnector of curre...