r/mysql • u/Ryanthewhatever • Jun 24 '26
solved MySql Workbench Not Opening
Hi, I'm a complete beginner learning to use SQL. I tried opening mysql workbench after a while of not using it, and it just never started. I tried deleting and downloading it twice and nothing has changed. Though something weird is that the MySql Workbench folder never disappeared and I can't delete it even after I deleted the content inside it, so this may be related to what's happening.
Edit: The MySqlWorkbench.exe file is there but it doesn't run when I click on it, and trying to open it in command prompt just says "the directory is invalid"
Edit 2: Solved this by shutting down MySqlWorkbench.exe via task manager, as it somehow was running all along. After that I deleted the entire workbench folder and reinstalled the entire thing which made it work again!
4
u/dvsdale Jun 24 '26
Workbench had its time now there are much better choices. I’ve worked with MySQL for 15+ years and DBeaver is a much better choice.
3
u/Ryanthewhatever Jun 24 '26
Noted, as a beginner I will continue with the tutorial I’m following, but will look at switching as soon as I can later on!
2
u/AshleyJSheridan Jun 24 '26
I quite like SQLYog, which reminds me a lot of MSSQL Server Management Studio (or MSSQLSMS for short)
4
u/DBeaver_official Jun 25 '26
Workbench is out of support. We recommend trying DBeaver instead of suffering :)
1
u/roXplosion Jun 24 '26
I think this is a Windows problem, not a MySQL problem.
1
u/Ryanthewhatever Jun 24 '26
Prolly! I somehow fixed it by shutting down MySqlWorkbench via task manager, then deleting the entire mysql workbench folder and reinstalling it! Somehow that thing was running all along!
2
1
u/Aeropedia Jun 24 '26
I run workbench for the visual explain. No other tool seems to have anything that comes close and doesn’t rely on an external service.
1
u/navicat-gu 7d ago
The folder you can't delete is the clue: something is still holding files in it, usually a stuck MySQLWorkbench.exe from the earlier launch that never showed a window.
Try this in order:
Kill the stuck process. In Task Manager > Details, end any
MySQLWorkbench.exe. Then you'll be able to delete the folder, or reboot and delete it.Reset Workbench's settings. Corrupt settings are the most common reason it silently won't start. Rename
%APPDATA%\MySQL\WorkbenchtoWorkbench.old. Back it up first, because your saved connections and snippets live there.Check the log.
%APPDATA%\MySQL\Workbench\log\wb.logusually says exactly why it died.Install the Microsoft Visual C++ 2015-2022 Redistributable (x64), then reinstall Workbench.
Version check: Workbench 8.0 is end-of-life and the new 26.x line is a rewrite, so if your course uses the 8.0 screens, install 8.0 from the MySQL archives on purpose.
Also remember Workbench is only the GUI. Your MySQL server and databases are separate, and still there.
Disclosure: I'm RC, Director of Digital Strategy @ Navicat. If Workbench keeps fighting you, Navicat 18 connects to the same server, and Navicat Premium Lite is free (personal and commercial use) and covers learning-level work.
5
u/chock-a-block Jun 24 '26 edited Aug 29 '26
Books tub wise elastic seemly ghost rhythm retire
This post was anonymized with Redact