Windows 10下MySQL WorkBench 6.3 CE配置文件位置及启动故障求助
Fixing WorkBench Startup by Reverting Timeout Setting
Hey there, let's get your WorkBench back up and running by fixing that misconfigured timeout setting. The exact location of the config file depends on your operating system—here's how to find it for each major OS:
Windows
- Open File Explorer and head to this path (replace
<YourUsername>with your actual Windows username):C:\Users\<YourUsername>\AppData\Roaming\MySQL\Workbench - Look for the
wb_options.xmlfile—this is where most of WorkBench's core settings are stored. - Open it with a plain text editor like Notepad or VS Code (avoid rich text editors like Word, they can mess up the XML format).
- Search for the timeout setting you modified (it’ll likely be a key like
db.connection_timeoutor something similar tied to operation timeouts). Alternatively, just search for the value1000000to jump straight to the line. - Change the value back to
86400, save the file, then try launching WorkBench again.
macOS
- Open Finder, press
Cmd + Shift + Gto bring up the "Go to Folder" dialog, then paste this path:~/Library/Application Support/MySQL/Workbench - Locate the
wb_options.xmlfile here. - Open it with TextEdit, but first switch to plain text mode: go to Format > Make Plain Text to avoid corrupting the XML.
- Find the timeout key you adjusted (or search for
1000000), set its value back to86400, save the changes, then restart WorkBench.
Linux
- Open a terminal window and navigate to the WorkBench config directory with this command:
cd ~/.mysql/workbench/ - The config file you need is
wb_options.xml. Edit it with a terminal text editor likenano(easy for beginners):nano wb_options.xml - Use the search function (Ctrl+W in nano) to look for
1000000—this will take you directly to the problematic timeout value. - Change it to
86400, save the file (press Ctrl+O, hit Enter, then Ctrl+X to exit nano), then try starting WorkBench again.
Quick Tip
If you’re unsure which key corresponds to the timeout, don’t worry—searching for 1000000 will lead you right to the line you modified earlier. Just make sure you only change that specific value to avoid breaking other settings.
内容的提问来源于stack exchange,提问作者Trevor Daniel




