Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running sqlx_any in example after upgrading sqlx to 0.7 #752

Open
EthanYuan opened this issue Feb 7, 2024 · 1 comment
Open

Error running sqlx_any in example after upgrading sqlx to 0.7 #752

EthanYuan opened this issue Feb 7, 2024 · 1 comment

Comments

@EthanYuan
Copy link

Description

The example sqlx_any does not work after this PR #652

Steps to Reproduce

cd examples/sqlx_any
cargo run -- sqlite

Expected Behavior

Like described in the readme.

Actual Behavior

thread 'main' panicked at 'No drivers installed. Please see the documentation in `sqlx::any` for details.', /home/ethan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.3/src/any/driver.rs:142:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Reproduces How Often

always

Versions

tag 0.30.7

@tyt2y3
Copy link
Member

tyt2y3 commented Feb 7, 2024

I think it should work with MySQL IIRC. sqlx 0.7 removed a few features from the Any driver.
If you can figure out the problem, a PR would be appreciated, or we might be removing the example in the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants