error when run `cargo run`
Opened this issue · 3 comments
ngoclinh93qt commented
when i run cargo run
it appears an error
"thread 'main' panicked at 'Failed to create pool.: InternalServerError', src/app/mod.rs:31:25"
what is it? how to fix it? I'm a beginner to using Rust.
thanks.
kolzar commented
same error. thanks
kolzar commented
I solved, I restart all.
shivshankardayal commented
@ngoclinh93qt line 31 of mod.rs
creates database pool. Have you setup database in .env
file properly and run migrations.