MySQL "Prepared Statement needs to be re-prepared" #2380
Unanswered
camblomquist
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I ported an existing database interface to sqlx. The previous interface did not use prepared statements at all while this version uses them heavily.
Now every so often, a query will fail with the error message "Prepared statement needs to be re-prepared." This error is hard to track, it occurs sporadically and will go away on its own just to come back later. Eventually, I believe we will be working on a different instance such that any issues resulting from strange interactions between old and new databases should go away. In the meantime, I'm wondering if there is anything I should be doing when using sqlx to avoid this error.
Beta Was this translation helpful? Give feedback.
All reactions