Skip to content

Check if DB is running before downloading / uploading #20

@pksec

Description

@pksec
  • Sometime, I forget to start the docker container. Can we make sure we check this first (if db is not available, throw a message to start) in the download script?

Low-Priority Issue

Traceback (most recent call last): File "/home/pksec/india-covid19/analysis-scripts/pyenv/lib/python3.6/site-packages/pymysql/connections.py", line 583, in connect **kwargs) File "/usr/lib/python3.6/socket.py", line 724, in create_connection raise err File "/usr/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions