Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop MAMP MySQL

Tags:

mysql

kill

mamp

How do you end all MySQL processes? Or how to address this error? MAMP won't 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
like image 853
user1114864 Avatar asked Aug 05 '12 18:08

user1114864


People also ask

Where is MySQL on MAMP?

Your MAMP PRO MySQL database data is located in “/Library/Application Support/appsolute/MAMP PRO/db/mysql57”. Activate this checkbox if you want the MySQL database server to start and stop automatically when the Start/Stop button in the toolbar is clicked.


3 Answers

You can shut Mysql down using the following command:

/Applications/MAMP/bin/stopMysql.sh
like image 96
kontinuity Avatar answered Oct 22 '22 19:10

kontinuity


Killed process in Activity Monitor.

like image 6
user1114864 Avatar answered Oct 22 '22 19:10

user1114864


Edit the second line of MAMP/bin/start.sh by adding an initial # ...

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

then when MAMP starts, MySQL will not, only Apache.

like image 1
user2407486 Avatar answered Oct 22 '22 19:10

user2407486