If you just find the process and do "kill -9" or "kill" the database will restart with another new PID.
The MySQL database is part of a launch-control (launchctl) function that keeps it running. So you need to shut that down.
sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist| Back