Mac OS10.14.5 click install mysql start mysql server failure Solution

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

 

Guess you like

Origin www.cnblogs.com/wuzhengzheng/p/11072783.html