Skip to main content
Mole
Features Tested apps Testimonials Pricing FAQ Blog
EnglishEN 简体中文中 繁體中文繁 日本語日 한국어한 FrançaisFR DeutschDE ItalianoIT EspañolES PortuguêsPT
Buy nowBuy Download

    Help, documentation, releases, and articles.

    Home/Apps tested with Mole

    How to uninstall MySQL Workbench on Mac

    Moving MySQL Workbench to the Trash does not remove your saved connections, SQL snippets or query history: MySQL's own documentation says they stay in a separate configuration folder after the app is gone. Back that folder up first if you plan to reinstall or move to another Mac. This guide covers the official disk image from MySQL and the Homebrew cask mysqlworkbench.

    Quit MySQL Workbench and remove the app

    1. Finish any running queries and close open SQL tabs, then quit MySQL Workbench from its application menu.
    2. Check Activity Monitor for a lingering MySQLWorkbench process before moving on.
    3. In Finder's Applications folder, move MySQL Workbench to the Trash. This is the method MySQL's own uninstall instructions describe.

    Decide what to do with your connections and snippets

    MySQL's documentation states that uninstalling the app does not remove your Workbench configuration directory, which holds your saved connections, settings, cache files, SQL snippets and history, logs and custom modules. Review what is in it and back it up before deleting anything you might want later.

    The same page notes that MySQL Workbench also creates a .mysqlworkbench schema on a MySQL server itself, used to share SQL snippets across a connection. That schema lives on the database server, not on your Mac, and removing the app never touches it; drop it yourself on that server only if you no longer want it.

    Location What it holds What to do
    ~/Library/Application Support/MySQL/Workbench Saved connections, settings, cache, SQL snippets and history, logs, custom modules Listed but not selected. Back it up before deleting if you want to keep your connections.
    ~/Library/Caches/com.oracle.workbench.MySQLWorkbench Application cache Selected by default
    ~/Library/Preferences/com.oracle.workbench.MySQLWorkbench.plist App preferences Selected by default
    ~/Library/Saved Application State/com.oracle.workbench.MySQLWorkbench.savedState Window state Selected by default

    Mole never touches the shared MySQL folder itself, only the Workbench folder inside it, so other MySQL tools that may use that parent are left alone.

    If you installed it with Homebrew

    Mole checks the cask's zap list first: when it reaches a row you left unticked, Mole drops --zap and still cleans up the rows you selected through its own recoverable Trash step.

    The mysqlworkbench cask's zap list matches the same four paths above, including your connections folder. Because that folder is unticked by default, Mole's uninstall normally runs brew uninstall --cask mysqlworkbench without --zap. If you tick the connections folder too, every path in the zap list is then covered by your own selection.

    Running the zap step yourself moves everything above to the Trash regardless of what you ticked in Mole:

    brew uninstall --cask --zap mysqlworkbench
    

    To keep your connections, back up Application Support/MySQL/Workbench first, or remove only the app:

    brew uninstall --cask mysqlworkbench
    

    Check the result

    pgrep -il mysqlworkbench
    ls -d ~/Library/Application\ Support/MySQL/Workbench
    
    • No output from pgrep means no MySQL Workbench process is running. A listed process means the app is still open; quit it before deleting data.
    • ls -d printing the path means your configuration folder is still there, which is expected if you chose to keep it. "No such file or directory" means it is gone.

    What Mole lists

    For MySQL Workbench installed from the official disk image:

    • ~/Library/Application Support/MySQL/Workbench is listed but not selected, so you choose whether to keep your connections and snippets.
    • The cache, preferences and saved-state files filed under com.oracle.workbench.MySQLWorkbench are selected by default.
    • The shared MySQL folder itself is never removed.

    For a Homebrew install, the zap list reaches your connections folder, so Mole normally leaves --zap out unless you tick that row too.

    What this test covered

    On September 19, 2026, MySQL Workbench 8.0.47 Community Edition was copied from the official disk image into Applications, opened once, and removed with a Preview build of Mole 1.15 (build 277); there was no Homebrew receipt. On first run it had written Application Support/MySQL/Workbench, including connections.xml. That build did not list the folder, so it stayed on disk after the app was removed; the review row above was added to Mole after this test. Connecting to a database, the .mysqlworkbench schema on a server, and the Homebrew cask were not tested.

    Mac running low on space or slowing down? Mole can clean out the junk, remove apps completely and keep macOS in shape.

    Try Mole

    Mole · 鼴

    Cleanup, software, and status for your Mac.

    v1.16.0 (296) · Release notes

    Product

    Mac Cleaner App Uninstaller Mac Optimizer Disk Analyzer System Monitor

    Support

    Help Documentation Releases Blog

    Legal

    Terms of Service Privacy Policy Refund Policy

    Resources

    CLI Tool Affiliate Program

    Connect

    Twitter hi@mole.fit

    Mole’s only official website mole.fit · Avoid installers from unknown sources

    The CLI stays free for terminal workflows.