RealOrangeOne / RealOrangeOne/docker-db-auto-backup

ValueError: Unable to find MySQL root password for CONATINER_NAME

Open
#88 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

more-info-needed
Dominant language
Python
Stars
201
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Hello, I try to backup my db container, but I still get this error:

ValueError: Unable to find MySQL root password for CONTAINER_NAME
Starting backup...
Found 30 containers.
Traceback (most recent call last):
File "/usr/src/db-auto-backup/./db-auto-backup.py", line 259, in
backup(datetime.now())
~~~~~~^^^^^^^^^^^^^^^^

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at db-auto-backup.py line 259 and trace the MySQL root-password lookup that raises the ValueError while backing up Docker containers. Reproduce the failure with the reported container setup, determine why the password is not found, and confirm that a backup completes without this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mysql, python
Domain
databases, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.