Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Check length of auth method switch payload for detecting old protocol. #316
Single 0xfe byte of the payload means it's an Old Authentication Method Switch Request Packet.
When MySqlConnector of current master version received single 0xfe byte response from the server, it throws FormatException("Read past end of buffer looking for NUL.") that doesn't make sense.
This PR provides a message for suggesting to upgrade password hash format in MySQL user record.