percona 5.6?????????5.7??????error???????????????

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了percona 5.6?????????5.7??????error???????????????相关的知识,希望对你有一定的参考价值。

?????????position   ansi   root   innodb   ????????????   monitor   status   block   ini   

???????????????????????????mysql????????????5.7.15???5.6?????????????????????????????????????????????.err?????????????????????????????????

2016-10-31T00:29:33.187073Z 0 [Warning] System table ???time_zone_leap_second??? is expected to be transactional.
2016-10-31T00:29:33.187093Z 0 [Warning] System table ???time_zone_name??? is expected to be transactional.
2016-10-31T00:29:33.187097Z 0 [Warning] System table ???time_zone??? is expected to be transactional.
2016-10-31T00:29:33.187101Z 0 [Warning] System table ???time_zone_transition_type??? is expected to be transactional.
2016-10-31T00:29:33.187104Z 0 [Warning] System table ???time_zone_transition??? is expected to be transactional.
2016-10-31T00:29:33.187690Z 0 [Warning] System table ???servers??? is expected to be transactional.
2016-10-31T00:29:33.188536Z 0 [Warning] Info table is not ready to be used. Table ???mysql.slave_master_info??? cannot be opened.
2016-10-31T00:29:33.188827Z 0 [Warning] Info table is not ready to be used. Table ???mysql.slave_relay_log_info??? cannot be opened.
2016-10-31T00:29:33.195026Z 0 [ERROR] Incorrect definition of table mysql.db: expected column ???User??? at position 2 to have type char(32), found type char(16).
2016-10-31T00:29:33.195055Z 0 [ERROR] mysql.user has no `Event_priv` column at position 28
2016-10-31T00:29:33.195236Z 0 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.

??????mysql_update?????????????????????

??????5.7????????????mysql?????????????????????

max_statement_time=300000

innodb_log_block_size=4096

??????????????????????????????service mysql start????????????service mysql stop????????????${hostname}.pid????????????support-files?????????mysql.server???????????????rm *.pid????????????????????????????????????????????????

??????????????????????????????????????????

1??????mysql 5.6????????????innodb????????????????????????mysqld hang???mysql????????????????????????????????????????????????????????????????????????

use mysql;

CREATE TABLE innodb_monitor (a INT) ENGINE=INNODB;

???mysql 5.7????????????????????????

set GLOBAL innodb_status_output=ON;

2????????????????????????????????????????????????????????????oracle????????????

5.6???

grant all on *.* to [email protected]???172.18.%??? identified by "password";

set password for [email protected]???172.18.%???=password(???password???);

5.7???

create user [email protected]???172.18.%??? identified by ???[email protected]#???;

alter  user [email protected]???172.18.%??? identified by ???[email protected]#???; --????????????????????????

以上是关于percona 5.6?????????5.7??????error???????????????的主要内容,如果未能解决你的问题,请参考以下文章

MySQL 5.6 VS 5.7压测报告

Linux(CentOS) 安装MySQL 5.7

Percona 5.7安装

CentOS7.4 x64环境Percona-Server-5.6安装

Linux下安装percona-server-5.6+tokuDB

Percona 5.7 在许多连接上都很慢