Home > database >  Ubuntu16.04.5 installation mysql5.7.24 no my CNF
Ubuntu16.04.5 installation mysql5.7.24 no my CNF

Time:09-18

First of all, I was through the mysql - 5.7.24. Tar. Gz to install; Unzip the package to him after compiled can make install installed; Initialize, start the service, anything, but I want to modify the code, surprises. Can't find my CNF file; Can't, myself in, manually create a new one, under the/etc/config file content is looking for a blog on the web; After the restart when found that already does service, will quote not updating the PID file (/usr/local/mysql/data/ubuntu. PID) error!

I looked at the stack overflow, a lot of people is a question of authority, the more I give to the data directory permissions, but still can't start the mysql server. This how to return a responsibility?

CodePudding user response:

How did you get up? Not have met before using the service start, it is ok to change systemctl

CodePudding user response:

/usr/local/mysql/data/ubuntu. Pid
Delete the restart

CodePudding user response:

Thank you, the problem has been resolved; The configuration file is automatically divided into several, name changed;
  • Related