linux - Installing mysql5.7 on centos
習慣沉默
習慣沉默 2017-05-16 13:31:22
0
2
560

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

習慣沉默
習慣沉默

reply all(2)
巴扎黑

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template