Structure
MySQLProtocol.HandshakeV10
Protocol::Handshakestruct HandshakeV10
Overview
When the client connects to the server the server sends a handshake packet to the client. Depending on the server version and configuration options different variants of the initial packet are sent.
https://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::Handshake
Topics
Instance Properties
authPluginDataauth_plugin_data_part_1(string.fix_len) –[len=8]first 8 bytes of the auth-plugin dataauthPluginNameauth_plugin_name(string.NUL) – name of theauth_methodthat theauth_plugin_databelongs tocapabilitiesThe server’s capabilities.characterSetcharacter_set(1) – default server character-set, only the lower 8-bitsProtocol::CharacterSet(optional)connectionIDconnection_id(4) – connection idprotocolVersionprotocol_version(1) –0x0aprotocol_versionserverVersionserver_version(string.NUL) – human-readable server versionstatusFlagsstatus_flags(2) –Protocol::StatusFlags(optional)
Type Methods
Enumerations
Relationships
Conforms To
MySQLPacketDecodableSwift.SendableSwift.SendableMetatype