时间:2021-07-01 10:21:17 帮助过:18人阅读
mysql 5.7.10使用dbforget Studio 连接异常 提示:The‘INFORMATION_SCHEMA.SESSION_VARIABLES‘ feature is dis
查看mysql数据库启动时间
SELECT FROM_UNIXTIME(UNIX_TIMESTAMP(NOW()) - VARIABLE_VALUE, ‘%Y-%m-%d %H:%i:%s‘) AS db_started_time FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = ‘UPTIME‘;--查看show_compatibility_56其值MySQL> show variables like ‘%show_compatibility_56%‘;--把show_compatibility_56打开mysql> set global show_compatibility_56=on;
查询mysql数据库启动时间抛异常
标签:mysql text csdn ffffff family detail sel 查看 bsp