ErrLookup › go-sql-driver/mysql

go-sql-driver/mysql

Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package · Go · 21 source files

Analyzed at 03d76c7e07 on 2026-08-07. 56 documented errors.

Code / MessageTypeSeverityTags
illegal length
exception error mysql, datetime, binary-protocol, prepared-statements, protocol-error
invalid connection
exception error connection, network, lifecycle
illegal TIME length
exception error mysql, time, binary-protocol, prepared-statements, protocol-error
strict mode has been removed. See…
panic critical mysql, dsn, configuration, panic, migration, version-change
invalid time bytes
validation error mysql, datetime, parsing, text-protocol, validation, parsetime
cannot convert type: %T
validation error go, mysql, prepared-statement, types, serialization
commands out of sync. You can't run this command now
exception error protocol, concurrency, rows
bad value for field: `%c`
validation error mysql, datetime, parsing, text-protocol, parsetime
mysql: unsupported isolation level
validation error mysql, transaction, isolation-level, begin, configuration
invalid max_allowed_packet value
exception error config, packet-size, handshake, compatibility
unknown collation
validation error go, mysql, collation, charset, config
invalid DATETIME packet length
exception error mysql, datetime, binary-protocol, prepared-statements, protocol-error, parsetime
year is not in the range [1, 9999]
validation error datetime, validation, data-binding
illegal packet length
exception error mysql, datetime, binary-protocol, prepared-statements, protocol-error, packet-desync
mysql: driver does not support the use of Named Parameters
exception error query, parameters, api-misuse
invalid compressed packet: uncompressed length in header is
exception error compression, protocol, data-corruption, config
invalid TIME packet length
exception error mysql, time, binary-protocol, prepared-statements, protocol-error, packet-desync
packet for query is too large. Try adjusting the…
exception error packet-size, config, bulk-load
this authentication plugin is not supported
exception error authentication, compatibility, config
busy buffer
exception error concurrency, buffer, internal
this user requires mysql native password authentication
exception error authentication, config, compatibility
this user requires clear text authentication. If you still…
exception error authentication, security, config
invalid dbname
validation error go, mysql, dsn, config, go-sql-driver
not [0-9]
exception error datetime, parsing, data-corruption
TLS requested but server does not support TLS
exception error tls, security, handshake
no Pem data found, data
exception error authentication, sha256, pem, handshake
invalid value for TLS config name
validation error go, mysql, dsn, tls, security
commands out of sync. Did you run multiple statements at…
exception error protocol, concurrency, rows, large-payload
invalid value for server pub key name
validation error go, mysql, dsn, security, tls, auth
non-Value type %T returned from Value
validation error go, mysql, types, valuer, prepared-statement
protocol error, illegal decimals value
exception critical go, mysql, protocol, binary-protocol, corruption
unexpected resp from server for caching_sha2_password…
exception error authentication, caching-sha2, handshake, security
argument count mismatch
validation error go, mysql, prepared-statement, sql
invalid timeTruncate value
validation error go, mysql, dsn, config, time
key ' ' is reserved
validation warning go, mysql, tls, config, security
local file ' ' is not registered
validation error go, mysql, infile, security, load-data
this user requires old password authentication. If you…
exception error authentication, security, legacy, config
MySQL server does not support required protocol 41+
exception error protocol, handshake, legacy, compatibility
can't convert %T to time.Time
validation error go, mysql, types, scan, time
reader ' ' is
validation error go, mysql, infile, load-data
unsupported type %T, a
validation error go, mysql, types, prepared-statement
no pem data found, data
exception error authentication, caching-sha2, pem, handshake
logger is nil
validation warning logging, config, programming-error
invalid connectionAttributes value
validation error go, mysql, dsn, config, session
unknown field type
exception error go, mysql, protocol, resultset, server-compat
unsupported protocol version
exception critical go, mysql, protocol, connection, server-compat
reader ' ' is not registered
validation error go, mysql, infile, load-data
unsupported type %T, a slice of
validation error go, mysql, types, slice, prepared-statement
invalid DSN: interpolateParams can not be used with unsafe…
validation error
invalid DSN: missing the slash separating the database name
validation error
invalid DSN: did you forget to escape a param value?
validation error
invalid value / unknown server pub key name
validation error
invalid value / unknown config name
validation error
default addr for network
validation error
unexpected read from socket
exception error
invalid bool value
validation error