主机安全服务(新版)HSS-如何开启登录失败日志开关?:MySQL

时间:2024-05-23 17:03:01

MySQL

在账户破解防护功能中,Linux系统支持MySQL软件的5.6和5.7版本,开启登录失败日志开关的具体的操作步骤如下:

  1. 使用root权限登录主机。
  2. 查询log_warnings值,命令如下:

    show global variables like 'log_warnings'

  3. 修改log_warnings值,命令如下。

    set global log_warnings=2

  4. 修改配置文件。

    • Linux系统中,修改配置文件my.conf,在[MySQLd]中增加log_warnings=2。

support.huaweicloud.com/hss2.0_faq/hss_01_0103.html