MySQL各版本的区别
https://yq.aliyun.com/articles/607474
http://blog.sina.com.cn/s/blog_62b37bfe0101he5t.html
MySQL版本时间线
https://www.cc1021.com/article/134.html
关于MySQL对数据库用户密码的加密方式
MySQL - ERROR 2059: Authentication plugin 'caching_sha2_password'
https://my.oschina.net/johnsken/blog/1840348
############################################
> show variables like 'default_authentication_plugin';
> select host,user,plugin from mysql.user;
> ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'MySQL@123';
> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'MySQL@123';
> flush privileges;
############################################
MySQL8.0.11 for Linux7.2 二进制安装
http://blog.51cto.com/fengfeng688/2141752
MySQL高可用——PXC简介
http://blog.51cto.com/fengfeng688/2151059
PXC5.7.21 for Linux7.2安装
http://blog.51cto.com/fengfeng688/2151070
MySQL主从复制与读写分离
http://blog.51cto.com/13871362/2331275?source=drh
详解 MySQL 5.7 新的权限与安全问题
https://my.oschina.net/leejun2005/blog/678202
link: https://www.jianshu.com/p/05c16d58c60a
表定义:
--数据准备:
--导入数据:
-- 查询 非RC和非GA版本:
mysql> select * from mysql where rel_type like 'Mile%' or rel_type like 'Dev%' order by 1;
+-------------+------------+-----------------------+
| rel_version | rel_date | rel_type |
+-------------+------------+-----------------------+
| 5.6.0 | NULL | Milestone 5 |
| 5.6.1 | NULL | Milestone 6 |
| 5.6.2 | 2011-04-11 | Developer Milestone |
| 5.6.3 | 2011-10-03 | Milestone 6 |
| 5.6.4 | 2011-12-20 | Milestone 7 |
| 5.6.5 | 2012-04-10 | Milestone 8 |
| 5.6.6 | 2012-08-07 | Milestone 9 |
| 5.7.0 | NULL | MileStone 10 |
| 5.7.1 | 2013-04-23 | MileStone 11 |
| 5.7.2 | 2013-09-21 | MileStone 12 |
| 5.7.3 | 2013-12-03 | MileStone 13 |
| 5.7.4 | 2014-03-31 | MileStone 14 |
| 5.7.5 | 2014-09-25 | MileStone 15 |
| 5.7.6 | 2015-03-09 | MileStone 16 |
| 8.0.0 | 2016-09-12 | Development Milestone |
| 8.0.1 | 2017-04-10 | Development Milestone |
| 8.0.2 | 2017-07-17 | Development Milestone |
+-------------+------------+-----------------------+
17 rows in set (0.00 sec)
-- 查询自2018年1月主流版本发布的次数:
mysql> SELECT SUBSTRING_INDEX(rel_version,'.',2) Major,COUNT(1) COUNT FROM wuhan.mysql s WHERE s.rel_date >='2018-01-01' GROUP BY SUBSTRING_INDEX(rel_version,'.',2) ORDER BY 1;
+-------+-------+
| Major | COUNT |
+-------+-------+
| 5.6 | 5 |
| 5.7 | 5 |
| 8.0 | 6 |
+-------+-------+
3 rows in set (0.00 sec)
-- 查询每个主流版本第一有日期的发布日期及其间隔,预测下一个版本发布的大致周期:
--查询每个edition的发布:
-- 年度版本发布次数:
mysql> SELECT YEAR(rel_date) Y,COUNT(1) cnt FROM wuhan.mysql WHERE rel_date IS NOT NULL
-> GROUP BY YEAR(rel_date) ORDER BY 1;
+------+-----+
| Y | cnt |
+------+-----+
| 2009 | 1 |
| 2010 | 8 |
| 2011 | 14 |
| 2012 | 15 |
| 2013 | 15 |
| 2014 | 15 |
| 2015 | 16 |
| 2016 | 23 |
| 2017 | 13 |
| 2018 | 16 |
| 2019 | 4 |
+------+-----+
11 rows in set (0.00 sec)
Name Release Date Release Status
10.4.4 2019-04-07 RC
10.4.3 2019-02-25 RC
10.4.2 2019-01-29 Beta
10.4.1 2018-12-20 Beta
10.4.0 2018-11-09 Alpha
10.3.14 2019-04-02 Stable
10.3.13 2019-02-21 Stable
10.3.12 2019-01-07 Stable
10.3.11 2018-11-20 Stable
10.3.10 2018-10-04 Stable
10.3.9 2018-08-15 Stable
10.3.8 2018-07-03 Stable
10.3.7 2018-05-25 Stable
10.3.6 2018-04-16 RC
10.3.5 2018-02-26 RC
10.3.4 2018-01-18 Beta
10.3.3 2017-12-23 Beta
10.3.2 2017-10-09 Alpha
10.3.1 2017-08-29 Alpha
10.3.0 2017-04-16 Alpha
10.2.23 2019-03-25 Stable
10.2.22 2019-02-11 Stable
10.2.21 2019-01-02 Stable
10.2.20 2018-12-24 Stable
10.2.19 2018-11-13 Stable
10.2.18 2018-09-25 Stable
10.2.17 2018-08-14 Stable
10.2.16 2018-06-26 Stable
10.2.15 2018-05-18 Stable
10.2.14 2018-03-27 Stable
10.2.13 2018-02-13 Stable
10.2.12 2018-01-04 Stable
10.2.11 2017-11-28 Stable
10.2.10 2017-11-01 Stable
10.2.9 2017-09-28 Stable
10.2.8 2017-08-18 Stable
10.2.7 2017-07-12 Stable
10.2.6 2017-05-23 Stable
10.2.5 2017-04-05 RC
10.2.4 2017-02-17 RC
10.2.3 2016-12-24 Beta
10.2.2 2016-09-27 Beta
10.2.1 2016-07-04 Alpha
10.2.0 2016-04-18 Alpha
10.1.38 2019-02-06 Stable
10.1.37 2018-11-02 Stable
10.1.36 2018-09-08 Stable
10.1.35 2018-08-07 Stable
10.1.34 2018-06-18 Stable
10.1.33 2018-05-09 Stable
10.1.32 2018-03-27 Stable
10.1.31 2018-02-06 Stable
10.1.30 2017-12-22 Stable
10.1.29 2017-11-14 Stable
10.1.28 2017-09-28 Stable
10.1.26 2017-08-10 Stable
10.1.25 2017-07-04 Stable
10.1.24 2017-05-31 Stable
10.1.23 2017-05-03 Stable
10.1.22 2017-03-14 Stable
10.1.21 2017-01-18 Stable
10.1.20 2016-12-15 Stable
10.1.19 2016-11-07 Stable
10.1.18 2016-09-30 Stable
10.1.17 2016-08-30 Stable
10.1.16 2016-07-18 Stable
10.1.14 2016-05-10 Stable
10.1.13 2016-03-25 Stable
10.1.12 2016-02-25 Stable
10.1.11 2016-01-29 Stable
10.1.10 2015-12-24 Stable
10.1.9 2015-11-23 Stable
10.1.8 2015-10-17 Stable
10.1.7 2015-09-09 RC
10.1.6 2015-07-27 Beta
10.1.5 2015-06-04 Beta
10.1.4 2015-04-13 Beta
10.1.3 2015-03-02 Beta
10.1.2 2014-12-07 Alpha
10.1.1 2014-10-17 Alpha
10.1.0 2014-06-30 Alpha
参考:
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/
https://downloads.mariadb.org/mariadb/+releases/
link: https://blog.csdn.net/vkingnew/article/details/89501167