Skip to content

Unclear error when running cargo sqlx prepare #3873

Closed Answered by MarkForLoop
MarkForLoop asked this question in Q&A
Discussion options

You must be logged in to vote

I found out the problem.
The .env was not loading for some reason

after running

export $(grep DATABASE_URL .env | xargs)

the prepare works

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@MarkForLoop
Comment options

@MarkForLoop
Comment options

@joeydewaal
Comment options

@MarkForLoop
Comment options

Answer selected by MarkForLoop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants