Versions in this module Expand all Collapse all v1 v1.0.2 Nov 27, 2021 Changes in this version + const CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS + const CLIENT_COMPRESS + const CLIENT_CONNECT_ATTRS + const CLIENT_CONNECT_WITH_DB + const CLIENT_DEPRECATE_EOF + const CLIENT_FOUND_ROWS + const CLIENT_IGNORE_SIGPIPE + const CLIENT_IGNORE_SPACE + const CLIENT_INTERACTIVE + const CLIENT_LOCAL_FILES + const CLIENT_LONG_FLAG + const CLIENT_LONG_PASSWORD + const CLIENT_MULTI_RESULTS + const CLIENT_MULTI_STATEMENTS + const CLIENT_NO_SCHEMA + const CLIENT_ODBC + const CLIENT_PLUGIN_AUTH + const CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA + const CLIENT_PROTOCOL_41 + const CLIENT_PS_MULTI_RESULTS + const CLIENT_RESERVED + const CLIENT_SECURE_CONNECTION + const CLIENT_SESSION_TRACK + const CLIENT_SSL + const CLIENT_TRANSACTIONS + const COM_BINLOG_DUMP + const COM_BINLOG_DUMP_GTID + const COM_CHANGE_USER + const COM_CONNECT + const COM_CONNECT_OUT + const COM_CREATE_DB + const COM_DAEMON + const COM_DEBUG + const COM_DELAYED_INSERT + const COM_DROP_DB + const COM_FIELD_LIST + const COM_INIT_DB + const COM_PING + const COM_PROCESS_INFO + const COM_PROCESS_KILL + const COM_QUERY + const COM_QUIT + const COM_REFRESH + const COM_REGISTER_SLAVE + const COM_RESET_CONNECTION + const COM_SET_OPTION + const COM_SHUTDOWN + const COM_SLEEP + const COM_STATISTICS + const COM_STMT_CLOSE + const COM_STMT_EXECUTE + const COM_STMT_FETCH + const COM_STMT_PREPARE + const COM_STMT_RESET + const COM_STMT_SEND_LONG_DATA + const COM_TABLE_DUMP + const COM_TIME + const CR_SERVER_LOST + const CR_VERSION_ERROR + const CharacterSetBinary + const CharacterSetUtf8 + const ER_ACCESS_DENIED_ERROR + const ER_BAD_DB_ERROR + const ER_CON_COUNT_ERROR + const ER_DBACCESS_DENIED_ERROR + const ER_ERROR_FIRST + const ER_HOST_NOT_PRIVILEGED + const ER_KILL_DENIED_ERROR + const ER_MALFORMED_PACKET + const ER_NO_DB_ERROR + const ER_NO_SUCH_TABLE + const ER_OPTION_PREVENTS_STATEMENT + const ER_SPECIFIC_ACCESS_DENIED_ERROR + const ER_SYNTAX_ERROR + const ER_TABLE_EXISTS_ERROR + const ER_TOO_LONG_IDENT + const ER_UNKNOWN_ERROR + const ER_UNKNOWN_STORAGE_ENGINE + const SERVER_STATUS_AUTOCOMMIT + const SQLStateGeneral + const SSUnknownSQLState + var CharacterSetMap = map[string]uint8 + var SQLErrors = map[uint16]*SQLError + func CommandString(cmd byte) string + func NewSQLErrorFromError(err error) error + type SQLError struct + Message string + Num uint16 + Query string + State string + func NewSQLError(number uint16, args ...interface{}) *SQLError + func NewSQLError1(number uint16, state string, format string, args ...interface{}) *SQLError + func NewSQLErrorf(number uint16, format string, args ...interface{}) *SQLError + func (se *SQLError) Error() string