search

Home  >  Q&A  >  body text

linux - Installing mysql5.7 on centos

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

習慣沉默習慣沉默2753 days ago548

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-05-16 13:33:22

    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

    reply
    0
  • ringa_lee

    ringa_lee2017-05-16 13:33:22

    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

    reply
    0
  • Cancelreply