mysql等保数据库命令

mysql数据库命令

默认安装位置:C:\Program Files\MySQL\MySQL Server 8.0\bin

select version() from dual;

desc mysql.user; 查看表中有哪些列

1、SELECT user, host, authentication_string, account_locked ,password_lifetime FROM mysql.user; 查询用户表

4、show variables like '%validate%'; 用户口令复杂度

show variables like '%password%'; 用户口令复杂度

5、show variables like '%timeout%'; 一个连接空闲超过多少秒就断开。

6、show variables like '%connection_control%'; 登录失败处理

show plugins;

7、show variables like '%ssl%' ;是否激活ssl

show global variables like "require_secure_transport";

8、show grants for 'root'@'localhost'; 查看root 分配的权限。

10、show variables like '%log_bin%' ; 查看输出的日志内容

show variables like '%log_output%'; 以什么形式存储日志。

show variables like '%general_log%' ;

show variables like '%logs_days%';

11、ll日志文件 / 右键-属性-安全

询问备份情况,查看数据库中的数据是否采取加密和完整性校验,询问加密方式

相关推荐
kka杰6 小时前
MYSQL结构操作DDL指令1.数据库操作
数据库·mysql
TDengine (老段)6 小时前
TDengine 字符串函数 POSITION 用户手册
android·java·大数据·数据库·物联网·时序数据库·tdengine
wudl55667 小时前
Flink20 SQL 窗口函数概述
服务器·数据库·sql
Arva .7 小时前
MySQL 中的 MVCC
数据库·mysql
毕设十刻7 小时前
基于Vue的鲜花销售系统33n62(程序 + 源码 + 数据库 + 调试部署 + 开发环境配置),配套论文文档字数达万字以上,文末可获取,系统界面展示置于文末
前端·数据库·vue.js
Boilermaker19927 小时前
【MySQL】数据目录与日志开篇
数据库·mysql
李慕婉学姐7 小时前
Springboot加盟平台推荐可视化系统ktdx2ldg(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。
数据库·spring boot·后端
小满、10 小时前
MySQL :实用函数、约束、多表查询与事务隔离
数据库·mysql·事务·数据库函数·多表查询
百***353311 小时前
PostgreSQL_安装部署
数据库·postgresql
rayylee13 小时前
生活抱怨与解决方案app
数据库·生活