3.1 Ensure 'datadir' Has Appropriate Permissions

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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 <datadir>
chown mysql:mysql <datadir>

See Also

https://workbench.cisecurity.org/files/1622