package
0.0.0-20241101205441-bc39b4e0fb04
Repository: https://github.com/launix-de/go-mysqlstack.git
Documentation: pkg.go.dev
# Functions
CommandString used for translate cmd to string.
NewSQLError creates new sql error.
NewSQLError1 creates new sql error with state.
No description provided by the author
NewSQLErrorFromError returns a *SQLError from the provided error.
# Constants
CharacterSetBinary is for binary.
CharacterSetUtf8 is for UTF8.
Don't close the connection for a connection with expired password.
Can use compression protocol.
Client supports connection attributes.
One can specify db on connect.
Client no longer needs EOF packet.
Found instead of affected rows.
IGNORE sigpipes.
Ignore spaces before '('.
This is an interactive client.
Can use LOAD DATA LOCAL.
Get all column flags.
new more secure password.
Enable/disable multi-results.
Enable/disable multi-stmt support.
Don't allow database.table.column.
Odbc client.
Client supports plugin authentication.
Enable authentication response packet to be larger than 255 bytes.
New 4.1 protocol.
Multi-results in PS-protocol.
Old flag for 4.1 protocol.
Old flag for 4.1 authentication.
Capable of handling server state change information.
Switch to SSL after handshake.
Client knows about transactions.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
**************************************************/ https://dev.mysql.com/doc/internals/en/command-phase.html include/my_command.h.
CR_SERVER_LOST enum.
CR_VERSION_ERROR enum.
ER_ACCESS_DENIED_ERROR enum.
ER_BAD_DB_ERROR enum.
ER_CON_COUNT_ERROR enum.
ER_DBACCESS_DENIED_ERROR enum.
ER_ERROR_FIRST enum.
ER_HOST_NOT_PRIVILEGED enum.
ER_KILL_DENIED_ERROR enum.
ER_MALFORMED_PACKET enum.
ER_NO_DB_ERROR enum.
ER_NO_SUCH_TABLE enum.
ER_OPTION_PREVENTS_STATEMENT enum.
ER_SPECIFIC_ACCESS_DENIED_ERROR enum.
ER_SYNTAX_ERROR enum.
ER_BAD_DB_ERROR enum.
ER_TOO_LONG_IDENT enum.
ER_UNKNOWN_ERROR enum.
ER_UNKNOWN_STORAGE_ENGINE enum.
SERVER_STATUS_AUTOCOMMIT is the default status of auto-commit.
Status flags.
SQLStateGeneral is the SQLSTATE value for "general error".
SSUnknownSQLState is the default SQLState.
# Variables
CharacterSetMap maps the charset name (used in ConnParams) to the integer value.
SQLErrors is the list of sql errors.