Fails to start the app #78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried to run the app on my machine, but it did not work. Opening an issue here to (1) ask for tips for how to proceed and (2) document progress.
What I did
Output
All the logs are warnings, so those can be ignored for the purposes of running the app. The core here is:
This refers to
src/lib.rs
line 29, which handles database connections. Can you verifymysql
is running when you docargo run
? It looks like I only added the mysql client to nix, and it currently assumes it is running in the system beforehand. 😊 If you're on macOS it probably needs something likebrew install mysql
and the instructions it provides to get up and running.Thanks for the tip!
I installed mysql and started the service. And now I'm getting an error that the database called "diesel_dev" is not found.
Perhaps a step to initialize the database is needed?
Ah yes -
diesel migration run
I believe. 👍 Does that do the trick?If not,
diesel database reset
may also work.