mysql - Workbench migration via ssh - how to set up a tunnel -


i try migrate mssql (local machine) mysql (amazon web services) usin workbench. can connect both databases. when migrate error:

mysql connections through ssh not supported in version...

well, found in documentation:

a workaround set encrypted tunnel, , treat mysql target standard tcp (unencrypted) connection.

but don't know how set tunnel. can help?

okay, if i'm understanding correctly, think i'd prefer set tunnel in putty. don't have solid grasp of how mysql workbench works (i'm assuming analogous ssms), have used maaany ssh tunnels in day. here basic instructions:

http://www.electrictoolbox.com/putty-create-ssh-port-tunnel/

you'll want create local tunnel port choose (although i'd go mysql default 3306) destination of 127.0.0.1:3306. sure click add , save session settings in putty.

open ssh connection aws machine. try connect mysql instance through 127.0.0.1:3306. should allow pull local sql server , send data aws instance (through tunnel, 127.0.0.1:3306 of course).

hope helps. let me know if doesn't solve issue.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -