Defines MySQL protocol constants for use in client libraries and tools.
// Source: https://github.com/IceFireDB/IceFireDB | License: MIT | Copyright 2022 GITSRC // Provided via justclaw.it.com; keep this notice with the code. package mysql const ( MinProtocolVersion byte = 10 MaxPayloadLen int = 1<<24 - 1 TimeFormat string = "2006-01-02 15:04:05" ) const ( OK_HEADER byte = 0x00 MORE_DATE_HEADER byte = 0x01 ERR_HEADER byte = 0xff EOF_HEADER byte = 0xfe LocalInFile_HEADER byte = 0xfb CACHE_SHA2_FAST_AUTH byte = 0x03 CACHE_SHA2_FULL_AUTH byte = 0x04 ) const ( AUTH_MYSQL_OLD_PASSWORD = "mysql_old_password" AUTH_NATIVE_PASSWORD = "mysql_native_password" AUTH_CACHING_SHA2_PASSWORD = "caching_sha2_password" AUTH_SHA256_PASSWORD = "sha256_password" ) const ( SERVER_STATUS_IN_TRANS ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key