INFORMATION_SESSION_VARIABLES feature is disabled问题

本文涉及的产品
云数据库 RDS MySQL,集群系列 2核4GB
推荐场景:
搭建个人博客
RDS MySQL Serverless 基础系列,0.5-2RCU 50GB
云数据库 RDS MySQL,高可用系列 2核4GB
简介:

12233

mysql5.7 客户端连接出现:INFORMATION_SESSION_VARIABLES feature is disabled问题:

从mysql5.7.6开始information_schema.global_status已经开始被舍弃,为了兼容性,mysql提供了向下兼容的参数:show_compatibility_56,默认是OFF。

临时调整:
set global show_compatibility_56=on;

修改mysql配置文件:
[mysqld]
show_compatibility_56=on

相关实践学习
如何快速连接云数据库RDS MySQL
本场景介绍如何通过阿里云数据管理服务DMS快速连接云数据库RDS MySQL,然后进行数据表的CRUD操作。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
目录
打赏
0
0
0
0
3
分享
相关文章
|
11月前
Which two statements are true about Database Vault factors?
Which two statements are true about Database Vault factors?
78 1
set_time_limit() has been disabled for security reasons
set_time_limit() has been disabled for security reasons
187 0
set_time_limit() has been disabled for security reasons
History displays the time information
For those of you who use terminals a lot, one of the most common commands is probably history, which allows you to view the history of terminal commands executed
127 0
成功解决Instructions for updating: Use `tf.global_variables_initializer` instead.
成功解决Instructions for updating: Use `tf.global_variables_initializer` instead.
ECShop出现Strict Standards: Only variables should be passed by reference in的解决方法
引用其他网络已解决文章,收藏起来,以便翻阅。侵删 装ecshop之后有些可能出现这样的错误: Strict Standards: Only variables should be passed by reference in F:\www.
1078 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等