fairingrey/actix-realworld-example-app

error when run `cargo run`

Opened this issue · 3 comments

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.

same error. thanks

I solved, I restart all.

@ngoclinh93qt line 31 of mod.rs creates database pool. Have you setup database in .env file properly and run migrations.