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

"Can't connect to MySQL server on 'mysql' ([Errno 111] Connection refused)" #21

Open
levietanh0001 opened this issue Sep 2, 2022 · 0 comments

Comments

@levietanh0001
Copy link

Hello I saw your tutorial on medium and it worked great except for the database setup:

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'mysql' ([Errno 111] Connection refused)")

I got this issue when building and running the docker "loader" container, and because of this the api returns nothing on the /records/ endpoint.

Could you see if something was wrong? Thank you!

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

1 participant