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

mysql MYSQL_DATABASE env Variable #121

Closed
waleedsamy opened this issue Nov 23, 2015 · 1 comment
Closed

mysql MYSQL_DATABASE env Variable #121

waleedsamy opened this issue Nov 23, 2015 · 1 comment

Comments

@waleedsamy
Copy link

when initializing Mysql with different databases only one MYSQL_DATABASE is be available in linked container, what if i like to add multiple databases, i added them in /docker-entrypoint-initdb.d/, how can i get information about these DBs like credentials and DB's name form linked container.

or mysql container is designed to has only one DB, and i should provide container for each DB!

waleedsamy pushed a commit to Ubicall/ubicall-web-service that referenced this issue Nov 23, 2015
@tianon
Copy link
Member

tianon commented Jan 22, 2016

I personally prefer having a separate container for each database (which mimics production deployments and helps keep separation of concerns). There's also some discussion of mutli-database over in #18, however.

@tianon tianon closed this as completed Aug 22, 2016
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

2 participants