RealOrangeOne / RealOrangeOne/docker-db-auto-backup
ValueError: Unable to find MySQL root password for CONATINER_NAME
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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