1. Home
  2. Security Hardening
  3. CIS MySQL 5.6Windows OS L1 V1.1.0
  4. Ensure ‘datadir’ Has Appropriate Permissions

Ensure ‘datadir’ Has Appropriate Permissions

Details

The data directory is the location of the MySQL databases.

NOTE : Update MYSQL_DATA to the appropriate value for your local environment.

Solution

Execute the following commands at a terminal prompt:
chmod 700
chown mysql:mysql

Supportive Information

The following resource is also helpful.

This control applies to the following type of system Windows.

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles