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 when run cargo run #22

Open
ngoclinh93qt opened this issue Feb 21, 2020 · 3 comments
Open

error when run cargo run #22

ngoclinh93qt opened this issue Feb 21, 2020 · 3 comments

Comments

@ngoclinh93qt
Copy link

ngoclinh93qt commented Feb 21, 2020

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
Copy link

kolzar commented Mar 8, 2020

same error. thanks

@kolzar
Copy link

kolzar commented Mar 8, 2020

I solved, I restart all.

@shivshankardayal
Copy link

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

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

3 participants