MySQL Forums
Forum List  »  Newbie

What the hell is wrong with my sql?
Posted by: tony balony
Date: November 30, 2017 10:31AM

Mysql is the most confusing piece of software I have ever used.
Here is the thing, I have mysql 5.7.20 installed on the Mac High Sierra.
I use sudo /usr/local/mysql/support-files/mysql.server stop
It gave me ERROR! MySQL server PID file could not be found!
After some googling, I found I had to do this:
sudo mkdir /var/run/mysqld
sudo touch /var/run/mysqld/
sudo chown -R mysql:mysql /var/run/mysqld
then did I use sudo /usr/local/mysql/support-files/mysql.server stop start a few times, it works fine.
However, once the Mac restarts, the /var/run/mysqld/ directory is gone. what's up with that? Thanks

Options: ReplyQuote

Written By
What the hell is wrong with my sql?
November 30, 2017 10:31AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.