mysql直接从版本5.7 到了版本8,原因:
The first question people are likely to ask: If the most recent version of MySQL was a 5.x release, why's this one 8.0? For one, version 6.0 was canned as part of the transition to "more frequent and timely releases of the MySQL Server." Version 7 was reserved for the clustering version of MySQL. That leaves 8.x as the next major version number for the common use-case version of MySQL.
人们可能会问的第一个问题是:如果最新版本的MySQL是5.x版本,为什么这个8.0版本? 首先,版本6.0被封装为向“MySQL服务器更频繁且及时发布”的过渡的一部分。 版本7是为MySQL的集群版本保留的。 这使得8.x成为MySQL常见用例版本的下一个主要版本号。
mysql8的链接方式和5.7不一样,因此,docker容器的mysql还是在image中将mysql的版本号写上,以免不慎翻车:
http://www.fecshop.com/topic/898
MySQL 8.0 的速度要比 MySQL 5.7 快 2 倍(下面的链接描述的,本人没有去测试):
https://www.oschina.net/news/95325/mysql-8-0-ga-released