On OS X I need to reset the password of MySQL. It was installed with Homebrew.
I found this article which explains how reset my password: https://dev.to/oneearedmusic/access-denied-reset-mysql-root-user-password-2hk4
However, step 1 gives me issues. It says:
Shut down Mysql. Try
sudo service mysql stop
sudo /etc/init.d/mysql stop
or looking up the PID and killing it.
The first two options give me:
command not found
I'm searching for how to 'look up' the PID, what it is, and how to use it, but I'm getting a lot of noise so far in my search results...
Why am I getting
command not found. How can I stop my server?
I'm using version 15.1 Distrib 10.3.13-MariaDB, for osx10.14 (x86_64) using readline 5.1