Centos7 Initialize mysql Error: Could not open file ‘/usr/local/mysql/log/mysqld.log‘ for error logging: Per

Tips for centos7 initializing MySQL database

Could not open file ‘/usr/local/mysql/log/mysqld. log’ for error logging: Per

Insufficient permissions to save mysqlld Log information of log.

Solution:

sudo chown -R mysql:mysql /usr/local/mysql

Read More: