Expand description
Opt-in native MySQL adapter (feature mysql-native).
Completed ORM statements retain clean prepared-statement sessions. Interrupted exchanges and unfinished transactions retire their socket. Raw SQL/scripts and schema connections are retired after use because their session state and locks cannot be safely inferred. Writes are never retried after a connection error or an ambiguous commit outcome.
This is an experimental adapter. Adoption still requires live recovery, TLS, migration and matched end-to-end performance evidence. The existing SQLx adapter remains the compatibility default.
Structsยง
- Native
MySql Backend - MySQL ORM adapter using retained clean mysql_async sessions.
- Native
MySql Options - Native pool admission and checkout limits.