mysql-container
mysql-container copied to clipboard
Allow to set-up the data directory separately
Let's allow users to setup separately the data directory. Something like that might be quite handy for users: run it once with docker run --rm -e MYSQL_PASSWORD=* ... run-mysqld-setup.sh, which configures the storage area, then run with docker run ...
how is that different from running it, letting it setup the storage, and then killing it, and then running it again later?
@mnagy fyi.
It is the same, but less anoying. On Aug 21, 2015 3:53 PM, "Ben Parees" [email protected] wrote:
how is that different from running it, letting it setup the storage, and then killing it, and then running it again later?
@mnagy https://github.com/mnagy fyi.
— Reply to this email directly or view it on GitHub https://github.com/openshift/mysql/issues/82#issuecomment-133430963.
i'd vote for doing this w/ an env variable then. -e SETUP_ONLY=true