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

Backup can't find linked mysql container. #2

Open
meeeo opened this issue Apr 27, 2016 · 3 comments
Open

Backup can't find linked mysql container. #2

meeeo opened this issue Apr 27, 2016 · 3 comments

Comments

@meeeo
Copy link

meeeo commented Apr 27, 2016

https://asciinema.org/a/43800

What's wrong?

@mprokopov
Copy link

You should check environment in DB container, with docker-compose version "2" DB variables is not published, thus mysql-backup could not find credentials.
Check this https://docs.docker.com/compose/link-env-deprecated/

With version "1" just ok, but beware, fresh MySQL 5.7 will be buggy due to mydumper/mydumper#6

@domibarton
Copy link
Member

Thanks @mprokopov for your insights and your "reverse engineering". Glad to see people actually giving context to bugs :)

I'll have a look at it and I'll try to fix it.

@domibarton
Copy link
Member

@mprokopov Would you be interested in helping solving this issue? If I'm understanding this correctly, we no longer can access env vars from a different container due to deprecation of the link feature. Thus, we need to defined the credentials explicitly, right? :/

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

3 participants