Bug #83388 Use a symbolic link to point to a shared connections.xml

Submitted: 14 Oct 2016 15:38 Modified: 2 Feb 2018 13:25
Reporter: James . Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:6.3.7, 6.3.10 OS:Windows (X64)
Assigned to: CPU Architecture:Any
Tags: connections.xml, permissions, shared settings, symbolic link

[14 Oct 2016 15:38] James .
Description:
I have 5 machines and I want them all to share the same connections.xml. Furthermore I want any user to be able to modify a connection and have it propagate everywhere.

I am trying to achieve this by keeping connections.xml on a central server and replacing the client connections.xml with a symbolic link that points to the copy on the server.

When Workbench modifies connections.xml, it does so by deleting it and then generating a new connections.xml.

If a symbolic link is in the Workbench folder, it gets deleted and replaced by a file, and therefore the link is broken.

I am guessing this applies to all MySQL settings files, not just connections.xml.

Furthermore this affects any permissions set on connections.xml.

Thank you for reading.

How to repeat:
1. Move connections.xml to [A]
2. Use mklink to create a symbolic link to connections.xml, e.g. "mklink connections.xml [A]"
3. Open workbench (verify settings are loading correctly)
4. Edit a connection
5. Close workbench
6. Check the connections.xml symbolic link, it is now replaced by a file

(I find this works even if you don't edit a connection)

Suggested fix:
Have Workbench edit its settings files, rather than deleting them and creating new ones.

This is the policy used by other software such as WinSCP and FileZilla.
[20 Nov 2016 10:48] James .
Is anyone there?
[2 Feb 2018 13:25] MySQL Verification Team
Hello James,

Thank you for the feature request!

Thanks,
Umesh

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

Page generated in 0.050 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.