zzheads
zzheads

Reputation: 1472

Uninstall MySQL from macOS

Trying to unistall MySQL completely but can see 'grep mysql' process after reboot. Can not kill that process its changing PID. Any suggestions?

Upvotes: 2

Views: 5640

Answers (1)

Damian Dziaduch
Damian Dziaduch

Reputation: 2127

To stop the services you can use one of these:

  • brew services stop mysql
  • mysql.server stop

Then you can uninstall it with brew uninstall mysql. But database files will remain, so to clear them just do rm -rf /usr/local/var/mysql

Cheers.

Upvotes: 2

Related Questions