You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that this error is emitted in general when not enough parameters are provided, not just when no parameters are given. Error like Prepared statement expected X parameters but Y parameters where provided would be nice.
cvzx
linked a pull request
May 14, 2025
that will
close
this issue
Uh oh!
There was an error while loading. Please reload this page.
I have found these related issues/pull requests
N/A
Description
Second query returns that error
(1835) Malformed communication packet.
It should return a MySQL error but it returns that message, it only happens if you supply no parameters when it expected parameters.
Reproduction steps
main.rs
Cargo.toml
SQLx version
0.8.3
Enabled SQLx features
"runtime-tokio", "tls-native-tls", "mysql", "rust_decimal", "chrono",
Database server and version
MySQL 8.0.4
Operating system
Windows
Rust version
rustc 1.84.1
The text was updated successfully, but these errors were encountered: