...

Q: How Can I Completely Remove MySQL from Mac?

I manually installed the MySQL client on my MacBook Pro without homebrew. However, I also installed another MySQL server by homebrew. How could I remove the manual installed MySQL server? Thanks


Best Free Mac App Uninstaller Software
Best Answer: Omni Remover is the #1 Mac App Uninstaller software that can remove MySQL from your Mac completely. Free Download


MySQL is an open-source relational database management system written in C and C++. The MySQL server software itself and the client libraries is available on multiple operation system including macOS. To completely uninstall MySQL OS X it is necessary to remove numerous files and folders and edit one file. So in this article, we’ll show you how to uninstall MySQL from your Mac with minimal effort.

How To Fully Uninstall MySQL on Mac
How To Fully Uninstall MySQL on Mac

Table of Content:

Part 1: How To Manually Uninstall MySQL on Mac

Uninstall applications on Mac is as easy as 1-2-3. You simply need to find the app you want to remove in Applications folder, drag and drop it to Trash and it's done. However, some stubborn programs may cause you extra trouble. Here are the step by steo tips on how to uninstall MySQL from your Mac manually.

  • Step 1: Open Finder on your Mac > Go to Applications > Drag MySQL.app To Trash.
  • How To Completely Uninstall MySQL on Mac
    How To Completely Uninstall MySQL on Mac
  • Step 2: After moving MySQL.app to Trash, you may have these MySQL related files left behind, like the data and files in database, log files, cached data, etc. So to get rid of these MySQL leftover junk files, you need to move further.
  • Step 3: Open a terminal window > Use mysqldump to backup your databases to text files > Stop the database server and enter:
    sudo rm /usr/local/mysql
    sudo rm -rf /usr/local/mysql*
    sudo rm -rf /Library/StartupItems/MySQLCOM
    sudo rm -rf /Library/PreferencePanes/My*

  • Step 4: Edit /etc/hostconfig and remove the line MYSQLCOM=-YES-
    sudo rm /usr/local/mysql
    rm -rf ~/Library/PreferencePanes/My*
    sudo rm -rf /Library/Receipts/mysql*
    sudo rm -rf /Library/Receipts/MySQL*
    sudo rm -rf /private/var/db/receipts/*mysql*

Important Note: The last three command lines are particularly important in regard of clean uninstall MySQL on your Mac. Because, as otherwise, you can't install an older version of MySQL even though you think that you've completely deleted the newer version!

Part 2: Common Problems of Uninstalling MySQL on Mac

Even you're a senior macOS user, it still has chance that you cannot clean and fully uninstall MySQL from your Mac. The common MySQL on Mac uninstalling problems are list below (Learn How To Completely Uninstall Programs on Mac).

Part 3: How To Completely Uninstall MySQL on Mac

To completely remove MySQL from your Mac you'll need a capable Mac App Uninstaller software like Omni Remover 2. It is the new Mac App Uninstaller software made to remove MySQL and other ill-behaved apps on macOS. Follow steps below to get rid of MySQL on your Mac in few clicks

  1. 1
    Step 1: Download Omni Remover

    Download and install Omni Remover on your Mac > Open Omni Remover.

    How To Completely Uninstall MySQL on Mac Step 1
    How To Completely Uninstall MySQL on Mac Step 1
  2. 2
    Step 2: Uninstall MySQL

    In Omni Remover > App Uninstall > Click MySQL > Clean Uninstall.

    How To Completely Uninstall MySQL on Mac Step 2
    How To Completely Uninstall MySQL on Mac Step 2
  3. 3
    Step 3: Finish Uninstalling MySQL Mac

    Then Omni Remover will start scanning all MySQL associated data/files > After it finished scanning, click Clean Uninstall to start uninstall MySQL from your Mac.

    How To Completely Uninstall MySQL on Mac Step 3
    How To Completely Uninstall MySQL on Mac Step 3

The Bottom Line

It's just way easier with Omni Remover to uninstall MySQL from your Mac. Besides, Omni Remover can also scan your macOS, find and clean all unwanted app leftover junk files at one go. Free Download Now >


MiniCreo / Mac Uninstaller / Omni Remover / How To Completely Uninstall MySQL Mac

More iPhone/Mac Related Tips

Tags: Uninstall iTunes Mac   Uninstall Office 2011 Mac   Uninstall Firefox   Uninstall Kaspersky Mac Uninstall MacKeeper   Uninstall Google Earth Mac   Uninstall Steam Mac   Uninstall Adobe Flash Mac Uninstall Citrix Receiver Mac   Uninstall Spotify Mac   Uninstall Dropbox Mac   Uninstall Skype Mac Uninstall Teamviewer Mac   Uninstall uTorrent Mac   Uninstall Sophos Antivirus Mac   Uninstall Norton Mac   Uninstall Soundflower Mac   Uninstall WinZip Mac