Questions tagged [rust-diesel-mysql]
8 questions
2
votes
1 answer
Error installing Diesel CLI: cannot find -lmysqlclient
When I install Diesel CLI with the following command:
$ cargo install diesel_cli --no-default-features --features mysql
I get the following error message:
error: linking with `cc` failed: exit status: 1
|
= note: "cc"…

Bart Weber
- 1,136
- 4
- 15
- 32
1
vote
1 answer
Trait bound not satisfied in diesel rust
Hello i load the content of a table in a vec with diesel and mysql
fn establish_connection() -> MysqlConnection {
dotenv().ok();
let database_url = env::var("DATABASE_URL")
.expect("DATABASE_URL must be set");
…

GranBoh
- 67
- 8
1
vote
1 answer