1.查看数据库知否支持INFORMATION_SCHEMA引擎:
select * from information_schema.engines where engine='performance_schema';
2.查看performance_schema是否开启:
开启:
失败,因为只读,需要在my.cnf中进行配置:、
[mysqld]
performance_schema = ON # 注意:该参数为只读参数,需要在实例启动之前设置才生效
后续。。。。。。。