

If you are unable to restart MySQL after, you can also try this command to directly start XAMPP’s MySQL server: $ sudo /Application/XAMPP/xamppfiles/bin/rver startĪrticle continues after the advertisement: c. Tip: If you have multiple mysql processes and don’t know which want to stop, you can also stop ALL MySQL processes with sudo killall mysqld. Restart MySQL in manager-osx and you will be good.Now, you need to kill this process, by using the following command: kill -9, so for me the final command will be: kill -9 362._mysql 362 0.0 0.0 35192992 3396 ? Ss Sun10PM 0:21.82 /usr/local/mysql/bin/mysqld -user=_mysql -basedir=/usr/local/mysql -datadir=/usr/local/mysql/data -plugin-dir=/usr/local/mysql/lib/plugin -log-error=/usr/local/mysql/data/ -pid-file=/usr/local/mysql/data/ -keyring-file-data=/usr/local/mysql/keyring/keyring -early-plugin-load=keyring_file=keyring_file.so In my case, the process is named _mysql, so I need its process ID, which is 362 (highlighted below). After getting processes, you need to get the process ID of the processes named mysql.This will show you the processes with mysql in its name. Then copy and insert this next command: ps aux | grep mysql.Open Terminal, paste this command: sudo su and type in your password.
MAMP NOT STARTING MYSQL SERVER HOW TO
Here’s a guide (by Apple) on how to do this. Note: To run the following commands, you will need to be able to log in as a root user on your macOS. Instead of using the Activity Monitor, you can also find and close existing mysqld processes using macOS’s Terminal.

Killing existing MySQL processes using Terminal

Removing existing mysqld processes using the Activity Monitor.
