struct

MySql::Protocol::HandshakeResponse41

Inherits Struct < Value < Object

https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_connection_phase_packets_protocol_handshake_response.html#sect_protocol_connection_phase_packets_protocol_handshake_response41

Constants

CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS = 4194304
CLIENT_COMPRESS = 32
CLIENT_CONNECT_ATTRS = 1048576
CLIENT_CONNECT_WITH_DB = 8
CLIENT_DEPRECATE_EOF = 16777216
CLIENT_FOUND_ROWS = 2
CLIENT_IGNORE_SIGPIPE = 4096
CLIENT_IGNORE_SPACE = 256
CLIENT_INTERACTIVE = 1024
CLIENT_LOCAL_FILES = 128
CLIENT_LONG_FLAG = 4
CLIENT_LONG_PASSWORD = 1
CLIENT_MULTI_RESULTS = 131072
CLIENT_MULTI_STATEMENTS = 65536
CLIENT_NO_SCHEMA = 16
CLIENT_ODBC = 64
CLIENT_PLUGIN_AUTH = 524288
CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA = 2097152
CLIENT_PROTOCOL_41 = 512
CLIENT_PS_MULTI_RESULTS = 262144
CLIENT_RESERVED = 16384
CLIENT_SECURE_CONNECTION = 32768
CLIENT_SESSION_TRACK = 8388608
CLIENT_SSL = 2048
CLIENT_TRANSACTIONS = 8192

Constructors

new(username : String | Nil, password : String | Nil, initial_catalog : String | Nil, auth_plugin_data : Bytes, charset : UInt8)
Source

Instance methods

write(packet : MySql::WritePacket)
Source
write_ssl_request(packet : MySql::WritePacket)

https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_connection_phase_packets_protocol_ssl_request.html

Source