-
Notifications
You must be signed in to change notification settings - Fork 9
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
Upgrade or switch to mySQL 5.7 with buster latest #49
Comments
Hey, we have a specific one that's both PHP 7.0 and MySQL 5.7: |
Thank you for your reply. Since I am upgrading from M2.1 to 2.4 switching of PHP and mySQL would have been more than welcome. I managed to bypass it to do the composer upgrade in one docker. And proceed with database stuff in another one. As you can imagine it is far from ideal. Are there plans to be able to switch versions in one docker container? |
In the old hypernode-vagrant we had a command like You could always of course inside the container apt-get install whatever PHP or MySQL version you need and switch that back and forth, but on real Hypenodes we do some additional tweaking with the config files if the version is switched so your testing might not be 100% representative then for the production environment. Have you considered just running 2 Docker containers? One with an older PHP / MySQL version and one with the newer version? I don't use Docker every day for development but I imagine you can mount 1 storage volume on multiple containers (maybe something like this: https://www.digitalocean.com/community/tutorials/how-to-share-data-between-docker-containers). You could even go so far as to run multiple hypernode-buster-docker instances and expose the database port of the one Docker to the other so that you can from inside the Docker in which you run the Magento application in PHP connect to the database on the other container. Then for testing it's just a matter of editing your |
Thanks for the suggestions. In the Ubuntu docker we used to switch Magento versions by editing My issue is resolved. So this can be closed. |
Hi,
I am using
docker.hypernode.com/byteinternet/hypernode-buster-docker:latest
image. How would I switch or upgrade to mySQL 5.7?I know there are specific images for specific php and mysql version. But I need to work with the generic one since I am working on an upgrade of a Magento store which needs php 7.0 to run in the first place.
The text was updated successfully, but these errors were encountered: