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
-
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 refresh
with 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
.env
file 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