terminal – Modifying MySQL Workbench connections from the command line with MySQL Workbench on OSX

[ad_1]

I am making an attempt to automate some MySQL Workbench connection creation/modification from a bash (or NodeJS) script operating on OSX. Nevertheless, every time I replace the connections.xml file and the Keychain entry entry, then open the connection particulars in Workbench, it simply reverts the connections.xml file again to what it was earlier than.

I’ve full entry to OSX Keychain Entry, and I can see/replace/create the keys in there simply effective. I can even see the connections within the MySQL workbench connections file (~/Library/Software Help/MySQL/Workbench/connections.xml).

I am making an attempt to replace the username and password for a connection to a specified server, however once I replace it within the connections.xml and OSX Keychain, it does not really change it within the MySQL workbench UI. Furthermore, once I shut out of the connection particulars for that server, it routinely reverts the connections.xml file again to what it was earlier than.

I have been trying round within the Python scripts within the MySQL/Workbench listing and it seems to be prefer it creates a brief file, however I can not discover the place that file is positioned at. I am additionally unsure if updating that might work both (I’ve a sense it’d simply crash Workbench).

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *