After I decompressed mysql-xxx.tar.gz
, I found that support-files
did not have my-default.cnf
, and then I followed the online instructions As well as the installation of the mysql official website, the following errors will appear RROR! MySQL server PID file could not be found!
and other errors, and the my-default.cnf
file does not appear
The files just decompressed are as follows
How to solve this
I haven’t installed it with the source code. I checked the information and see if it works: http://www.jb51.net/article/112256.htm
Later I checked the official manual of MySQL and found that since 5.7.5, the my-default.cnf file no longer exists. I installed it according to the official manual. There is another problem, that is, mysql.server will report an error when starting. It prompts that the pid does not exist, etc., then execute
`
ps aux|grep mysql