1. Home
  2. Security Hardening
  3. CIS MySQL 5.6Windows OS L1 V1.1.0
  4. Ensure ‘log-raw’ Is Set to ‘OFF’ – C:my.ini

Ensure ‘log-raw’ Is Set to ‘OFF’ – C:my.ini

Details

The log-raw MySQL option determines whether passwords are rewritten by the server so as not to appear in log files as plain text. If log-raw is enabled, then passwords are written to the various log files (general query log, slow query log, and binary log) in plain text.

Solution

Perform the following actions to remediate this setting:
– Open the MySQL configuration file (my.cnf)
– Find the log-raw entry and set it as follows

log-raw = OFF

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Windows.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles