Error when trying to use MySQL as the DB for a self-hosted instance running the convex binary

When trying to run locally (using the binary: precompiled-2025-04-11-56756cc) with mysql (mysql Ver 8.0.41-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))) on Ubuntu I get an error. Here's the command: ./convex-local-backend --instance-name convex-self-hosted --instance-secret <redacted> --db mysql-v5 "mysql://convex:<redacted>@localhost:33060" Here's the error: Caught error (RUST_BACKTRACE=1 RUST_LOG=info,common::errors=debug for full trace): Your request couldn't be completed. Try again later.: Input/output error: Input/output error: can't parse: buf doesn't have enough data: Input/output error: can't parse: buf doesn't have enough data: can't parse: buf doesn't have enough data
2 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Justice Ranger
Justice RangerOP3w ago
Had to change my call to: ./convex-local-backend --instance-name convex-self-hosted --instance-secret <redacted> --db mysql-v5 mysql://convex:<redacted>@127.0.0.1:3306/ --disable-beacon --do-not-require-ssl

Did you find this page helpful?