mysql / mysql-shell-plugins

Plugins for the MySQL Shell
Other
75 stars 15 forks source link

Export/Import or Sync Connections #12

Closed byjg closed 2 years ago

byjg commented 2 years ago

Is there a way to export/import the connections I have so I can use them in another VSCode install I have?

Or, even better, If add the feature of Sync connections?

mike-lischke commented 2 years ago

The connections are held in the MySQL shell user data. Check your homedir for a hidden folder named .mysqlsh-gui. In that folder there's the plugin data (.mysqlsh-gui/plugin_data/gui_plugin/mysqlsh_gui_backend.sqlite3). Not exactly an export, but at least you can save the connections as SQL and import them in a different machine. At at later point in time we will also add a regular export of the connections.

byjg commented 2 years ago

Cool! That helped a lot :)