Bug #92026 Configuration files should go in XDG directories
Submitted: 15 Aug 2018 18:42
Reporter: Alex Cabal Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:6.3.10 OS:Linux
Assigned to: CPU Architecture:Any

[15 Aug 2018 18:42] Alex Cabal
Description:
MySQL Workbench stores configuration files in $HOME/.mysql/workbench/ by default on Linux.

However, it should respect XDG base directory locations, which have been defined since 2003. Configuration files should instead be stored in $XDG_CONFIG_HOME/mysql-workbench/ (which is usually $HOME/.config/mysql-workbench/)

How to repeat:
Install and run MySQL Workbench and observe the $HOME/.mysql/workbench/ directory.

Suggested fix:
If $HOME/.mysql/workbench/ exists, read/store config files there to maintain backwards compatibility.

If $HOME/.mysql/workbench/ does not exist, use $XDG_CONFIG_HOME/mysql-workbench/ to read/store config files.
[19 Aug 2018 20:32] Richard Szibele
I was also about to file a bug report regarding this issue. Please consider conforming to the XDG Base Directory Specification, it makes backing up user profiles a lot easier.