Create new MySQL database #2481
Unanswered
thibault-kine
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm trying to follow the tutorial, but I can't go further than Chapter 1.2 (Migration - CLI).
I can connect to the database just fine, there no error when I run the main program. However, when I try to run
sea-orm-cli migrate refreshwith all the correct files, straight from the tutorial, I run into the following error:For some hindsight, I'm using phpmyadmin as a MySQL database.
My
.envfile looks like this:DATABASE_URL="DATABASE_URL=mysql://root:@localhost:3306/bakeries_db"This is the same url and database name I'm using in
src/main.rs.Is there any reason this is happening? I'm pretty new to Rust.
Beta Was this translation helpful? Give feedback.
All reactions