Remove Mysql from Homebrew Mac

Remove Mysql from Homebrew Mac

When executing brew search mysql brew finds something but when I try to uninstall it it say it can't find it.

macbookaaa:sbin aaaa$ brew search mysql 
==> Formulae
automysqlbackup                    mysql++                            mysql-client@5.7                   mysql-sandbox                      mysql@5.6                          mysqltuner
mysql                              mysql-client                       mysql-connector-c++                mysql-search-replace               mysql@5.7
==> Casks
mysql-connector-python             mysql-shell                        mysql-utilities                    mysqlworkbench                     navicat-for-mysql                  sqlpro-for-mysql
mysql-connector-python             mysql-shell                        mysql-utilities                    mysqlworkbench                     navicat-for-mysql                  sqlpro-for-mysql
macbookaaaa:sbin aaaa$ brew remove mysql 
Error: No available formula or cask with the name "mysql".
macbookaaaa:sbin aaaa$ brew remove mysql++
Error: No available formula or cask with the name "mysql++".
macbookaaaa:sbin aaaa$ 

1 Answer

brew search searches for all available formulas, not installed ones. The remove command is probably failing because you don’t have MySQL installed. Also, it should be “uninstall” not remove.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.