![]() It has the same options and environment variables as the official docker image, so it can be a drop-in replacement. I had great luck with the biarms/mysql:5.7 image. There are also already premade images out there. Debian and Ubuntu have mysql-server-5.7 images for arm for years, even though they are somewhat more dated than the x86 variants. ![]() where some-mysql is the name you want to assign to your container, my-secret-pw is the password to be set for the MySQL root user and tag is the tag specifying the MySQL version you want. The source code of MySQL is open, and there isn’t anything stopping you from just compiling it for ARM64. Selecting previously unselected package mysql-server-core-5.7. Start a mysql server instance Starting a MySQL instance is simple: docker run -name some-mysql -e MYSQLROOTPASSWORDmy-secret-pw -d mysql:tag. ![]() I tried the latest 10 version (10.8), and it worked great for my use case. The question I can’t answer is which version to choose for the best MySQL 5.7 support. And it does officially support ARM64.īut here, you have to be aware that your local environment might not exactly be the same as the live environment. The fork of MySQL is mostly compatible with its brother and can be used as a replacement. ![]() The newer MySQL 8 is supported on ARM, and the official docker image has support for it.īut, if your project wasn’t planning to move to the newer MySQL version anyways, you probably shouldn’t run MySQL 8 locally as a workaround. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |