To allow old client to connect to newer servers the initial handshake contains
the MySQL Server version
The client should only announce the capabilities in the Handshake Response Packet that it has in common with the server.
They can agree on:
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices