In the legacy handshake there is still a call to `_auth.scramble_old_password` https://github.com/PyMySQL/PyMySQL/blob/master/pymysql/connections.py#L924 This function was deleted in this commit https://github.com/PyMySQL/PyMySQL/commit/cd61e56190c3ec6ab82934d9475712cd7a170656