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
var authPluginData: ByteBufferauth_plugin_data_part_1(string.fix_len) –[len=8]first 8 bytes of the auth-plugin datavar authPluginName: String?auth_plugin_name(string.NUL) – name of theauth_methodthat theauth_plugin_databelongs tovar capabilities: MySQLProtocol.CapabilityFlagsThe server’s capabilities.var characterSet: MySQLProtocol.CharacterSet?character_set(1) – default server character-set, only the lower 8-bitsProtocol::CharacterSet(optional)var connectionID: UInt32connection_id(4) – connection idvar protocolVersion: UInt8protocol_version(1) –0x0aprotocol_versionvar serverVersion: Stringserver_version(string.NUL) – human-readable server versionvar statusFlags: MySQLProtocol.StatusFlags?status_flags(2) –Protocol::StatusFlags(optional)
Type Methods
Enumerations
Relationships
Conforms To
MySQLPacketDecodableSwift.SendableSwift.SendableMetatype