Skip to content

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

@levietanh0001

Description

@levietanh0001

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions