distal-attribute
distal-attribute
distal-attribute
distal-attribute

Access Vagrant MySQL DB from local HeidiSQL GUI

chris posted 9 months ago in General
I've setup a Vagrant machine on Virtualbox, I have MySQL on the machine. What I would like to do now is, create and manage my DB from the HeidiSQL GUI on my local machine. I've tried SSH tunnel but haven't been able to get it to work because of a "could not execute plink" error (I left the field blank)
chris posted 9 months ago
I've managed to connect to a session (downloaded plink and added the path)however, when connecting I do not see the databases on my vagrant machine, instead I see some databases from my local machine.

Any i've tried switching port numbers, but that always results in either an error or still connecting to local dbs
ansgar posted 9 months ago
Watch out in the lower log panel, if there is some error message due to plink.exe execution. Then, use a command line box and start plink.exe yourself with the same parameters, and try to connect via HeidiSQL on the right port number.

Please login to leave a reply, or register at first.