Stop MAMP MySQL

How do you end all MySQL processes? Or how to solve this error? MAMP does not start the MySQL server.

120805 11:18:24 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 120805 11:18:24 [ERROR] Do you already have another mysqld server running on port: 8889 ? 120805 11:18:24 [ERROR] Aborting 
+6
source share
4 answers

Killed process in the activity monitor.

+5
source

You can close Mysql down using the following command:

 /Applications/MAMP/bin/stopMysql.sh 
+10
source

I believe that MAMP installs mysql correctly, so you can mysql.server stop stop all server instances. The same thing happens for mysql.server start to start it again.

0
source

Edit the second line of MAMP / bin / start.sh, adding the start line # ...

 # /bin/sh #/Applications/MAMP/bin/startMysql.sh /Applications/MAMP/bin/startApache.sh 

then when you start MAMP, MySQL will not, but only Apache.

0
source

Source: https://habr.com/ru/post/922174/


All Articles