Step One: Open the terminal and type the following lines
sudo chown -RL root:mysql /usr/local/mysql sudo chown -RL mysql:mysql /usr/local/mysql/data sudo /usr/local/mysql/support-files/mysql.server start
If you report this error, then take the following:
. ERROR! The server quit without updating PID file (/usr/local/mysql/data/(hostname).pid).
Step two:
This time we create a file in / etc just fine
Enter the following commands in sequence j
cd /etc
sudo touch my.cnf
sudo vi my.cnf
Part III writes:
Please [mysqld] the setting write:
So after the normal execution