Bug #118884 Clarification Request: Is workbench_user_data.dat Automatically Recreated by MySQL Workbench if it is deleted

Submitted: 22 Aug 2025 14:32 Modified: 25 Aug 2025 9:21
Reporter: David Leacox Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: MySQL Verification Team CPU Architecture:Any

[22 Aug 2025 14:32] David Leacox
Description:
We are looking to confirm the behavior of the workbench_user_data.dat file located in the %AppData%\MySQL\Workbench\ directory on Windows systems.

Specifically, we would like to know:

If this file is deleted while MySQL Workbench is closed, will it be automatically recreated when the application is launched again?
If so, what default data or structure is restored in the recreated file?
Is there any official documentation that confirms this behavior?
This information is important for enterprise environments where we are considering removing this file to prevent password caching.

Thank you for your help in clarifying this behavior.

How to repeat:
Close MySQL Workbench.
Navigate to %AppData%\MySQL\Workbench\.
Delete workbench_user_data.dat.
Reopen MySQL Workbench.
Observe whether the file is recreated.

Suggested fix:
If this behavior is expected, please consider adding a note in the Workbench Settings and Log Files documentation to confirm that this file is regenerated automatically.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.037 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.