Moving connections and instances between two computers

前端 未结 8 770
日久生厌
日久生厌 2020-12-23 18:55

I´ve got a mysql-server that I´m administrate remotely with MySQL Workbench.

Now I´ve got a new computer and I cant find any solution to move my connections and inst

相关标签:
8条回答
  • 2020-12-23 19:16

    Before replacing the connection.xml, make sure you close the Workbench application first, or the application will overwrite/save on the xml file on exit.

    0 讨论(0)
  • 2020-12-23 19:18

    just copy them!

    in Linux, they're at $HOME/.mysqlgui/

    0 讨论(0)
  • 2020-12-23 19:24

    In Linux (Ubuntu), the location was changed to $HOME/.mysql/workbench

    Tested on Ubuntu 14.04 LTS.

    0 讨论(0)
  • 2020-12-23 19:26

    I had the same questions. I found a MySQL directory in %APPDATA%. Copy the entire directory to the same location on the new machine. You'll need clear your passwords and re-enter them. Once I did that, I was up and running again.

    You can find your %APPDATA% folder in Windows by entering it in the address bar of Windows Explorer.

    0 讨论(0)
  • 2020-12-23 19:26

    You don't need to copy any files manually as other answers suggest. On both Windows and Mac you can export all your settings within MySQL Workbench and restore to another system.

    Select Tools > Configuration > Backup Connections
    

    This will export as a .zip. Then on your new new install just

    Select Tools > Configuration > Restore Connections
    

    That's it!

    0 讨论(0)
  • 2020-12-23 19:31

    Found it on a mac in /Users/Username/Library/Application Support/MySQL/Workbench/

    file called connections.xml

    0 讨论(0)
提交回复
热议问题