Skip to main content

Module mysql

Module mysql 

Source
Expand description

MySQL server implementation using opensrv-mysql

Inbound packets are bounded before they are buffered. opensrv-mysql has no maximum-packet check of any kind, and it is the crate that answers SELECT @@max_allowed_packet with 67108864 — so until now this server published a ceiling and enforced nothing, on an unauthenticated connection, before any model call. packet_limit puts that number where the bytes are: see packet_limit::MAX_PACKET_BYTES.

Modules§

actions
MySQL protocol actions implementation
caching_sha2
The handshake a current MySQL client can complete — and a statement of what it proves.
packet_limit
A bound on the largest MySQL packet a stranger can make this server buffer.

Structs§

MysqlHandler
MySQL connection handler
MysqlServer
MySQL server implementation

Functions§

count_placeholders
Count the ? parameter placeholders in a SQL statement.