Skip to content

Uninstalling MySQL Workbench on macOS is a straightforward process, but you need to ensure you remove all associated files and components. Here’s a step-by-step guide for engineers who want to get things done efficiently.

Step 1: Quit MySQL Workbench

Ensure that MySQL Workbench is not currently running. You can do this by:

  1. Clicking on MySQL Workbench in the Dock (if it’s open).
  2. Clicking MySQL Workbench in the menu bar.
  3. Selecting Quit MySQL Workbench.

Alternatively, use the shortcut Command + Q after focusing on the application.

Step 2: Drag MySQL Workbench to Trash

  1. Open Finder.
  2. Go to the Applications folder.
  3. Locate MySQL Workbench.
  4. Drag the MySQL Workbench app to the Trash, or right-click and choose Move to Trash.

Step 3: Remove Associated Files

MySQL Workbench might leave some configuration files on your system. For a clean uninstall, you should remove these files.

  1. Open Finder.
  2. In the menu bar, click on Go and then select Go to Folder... (or use the shortcut Shift + Command + G).
  3. Enter the following paths and remove associated MySQL Workbench files if they exist:
~/Library/Application Support/MySQL/Workbench
~/Library/Preferences/com.oracle.workbench.MySQLWorkbench.plist
~/Library/Caches/com.oracle.workbench.MySQLWorkbench
~/Library/Saved Application State/com.oracle.workbench.MySQLWorkbench.savedState

Note: The ~ symbol represents your home directory.

Step 4: Empty the Trash

To permanently delete MySQL Workbench and its associated files:

  1. Right-click on the Trash icon in the Dock.
  2. Select Empty Trash.

Caution: This action will delete all the items in your Trash, not just MySQL Workbench. Make sure you have verified the contents of your Trash before emptying it.

Optional Step: Uninstall MySQL Server (if needed)

If you also want to uninstall MySQL server:

  1. Open Terminal (you can find it under Applications > Utilities).
  2. Execute the following command:
sudo rm -rf /usr/local/mysql

Then, remove the MySQL user and group by executing:

sudo dscl . -delete /Users/mysql
sudo dscl . -delete /Groups/mysql

Remove MySQL preferences:

sudo rm /Library/Preferences/com.mysql.*

Conclusion

That’s it! You’ve successfully uninstalled MySQL Workbench from your macOS. Remember, always back up important data before uninstalling any software, and be cautious when using the rm command or emptying the Trash to avoid unintentional data loss.

Written by

Robert Cooper avatar

Robert Cooper

Senior Engineer at Basedash

Robert Cooper is a senior engineer at Basedash who builds full-stack product systems across SQL data infrastructure, APIs, and frontend architecture. His work focuses on application performance, developer velocity, and reliable self-hosted workflows that make data operations easier for teams at scale.

View full author profile →

Looking for an AI-native BI tool?

Basedash lets you build charts, dashboards, and reports in seconds using all your data.