ERROR! MySQL manager or server PID file could not be found! QNAP

前端 未结 18 1338
慢半拍i
慢半拍i 2020-12-07 16:38

I am having an issue where MySQL isn\'t starting on my QNAP NAS.

I found this first by not being able to log in through phpMyAdmin - was getting error:



        
18条回答
  •  温柔的废话
    2020-12-07 16:56

    After a lot of searching, I was able to fix the "PID file cannot be found" issue on my machine. I'm on OS X 10.9.3 and installed mysql via Homebrew.

    First, I found my PID file here:

    /usr/local/var/mysql/{username}.pid
    

    Next, I located my my.cnf file here:

    /usr/local/Cellar/mysql/5.6.19/my.cnf
    

    Finally, I added this line to the bottom of my.cnf:

    pid-file = /usr/local/var/mysql/{username}.pid
    

    Hopefully this works for someone else, and saves you a headache! Don't forget to replace {username} with your machine's name (jeffs-air-2 in my case).

提交回复
热议问题