Mysql server will not stop

So, I tried countless things to try and stop MySQL from working.

I tried to stop the process, but it continues to give me this error:

Executing '/usr/local/mysql/support-files/mysql.server stop' 2013-12-23 21:08:29 - 
Stop server: ERROR! MySQL server PID file could not 2013-12-23 21:08:29 - 
Stop server: be found!

Here is a screenshot

I also tried the following:

  • Leave the team
  • Activity Monitor and Force Termination
  • Using CLI / Terminal to stop the process using:
    • killall -KILL Finder
    • killall -KILL Dock
    • killall -KILL SystemUIServer
    • killall -9 mysqld

result of the last command:

~❯killall -9 mysqld
Password:
kill: kill 11963 failed: operation not permitted
~❯   

and he still hasn’t stopped working ... unfortunately. I tried double checking with both the system preferences view and the workbench mySQL view. System preferences say it works. There is no answer when the button is pressed. When I go to the workbench, he says, and without me, pressing "start", he just turns on.

, , . .. .. ( )

~❯ps -A | grep mysql
11963 ?? _ _ _ _ . _ 0:01.27 --user=_mysql
14635 ttys000 _ _. _ 0:00:00 grep mysql
~❯sudo kill 11963
Password:
~❯

MySQL, :

- sudo rm /usr/local/mysql
- sudo rm -rf /usr/local/mysql*
- sudo rm -rf /Library/StartupItems/MySQLCOM
- sudo rm -rf /Library/PreferencePanes/MySQL*
- vim /etc/hostconfig and removed the line MYSQLCOM=-YES-
- rm -rf ~/Library/PreferencePanes/MySQL*
- sudo rm -rf /Library/Receipts/mysql*
- sudo rm -rf /Library/Receipts/MySQL*
- sudo rm -rf /var/db/receipts/com.mysql.*

. , , , , , mysql, , , , , . :

- sudo find / | grep -i mysql

, .

-, , ? , .

+4
2

!: D

"mysql" , force quit, . , - .

Homebrew, mysql - Mac OS X 10.7 (x86, 64-bit), DMG.

sudo cp/usr/local/mysql/support-files/my-default.cnf/etc/my.cnf

. MAMP, , , , .

, alfred, , , , , , , , .

. alfred. , , .

Localhost (v1.1)

+1

MySQL? . , MySQL.

MacPorts

sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql.plist
Note: this is persistent after reboot.

Homebrew

launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
+2

All Articles