Multiple Virtual Machines connections are messed up :/

[expired user #8876]'s profile image [expired user #8876] posted 9 years ago in General Permalink
Hello there,

First of all tyvm for the awesome program xD

I've recently started using Vagrant and I've got a few connection issues to the DB. If I got 2 VMs online and I am trying to connect to the DB it will only connect to one of them at a time. If it connects with 1st VM it won't connect to the other one etc. It seems like it is trying to connect to the running machine instead of the other one.

I've uploaded my settings.

Any ideas?

Thank you!


PS: root passwords are different because if they are the same it just relogin to the same old connection.. I even changed ports just in case.
1 attachment(s):
  • heidisql
ansgar's profile image ansgar posted 9 years ago Permalink
In the SSH Tunnel tab, you need to enter a different port for each connection.
[expired user #8876]'s profile image [expired user #8876] posted 9 years ago Permalink
I've changed the port. Still the same issue.
[expired user #8876]'s profile image [expired user #8876] posted 9 years ago Permalink
PS: I've also changed SSH password, didn't do the trick either.

Maybe it messes up the ssh usernames or something?
ansgar's profile image ansgar posted 9 years ago Permalink
You have different ports in your "SSH tunnel" settings, and you are connected to the same machine in both sessions? Or does the first session work and not so the second?
[expired user #8876]'s profile image [expired user #8876] posted 9 years ago Permalink
I've created 2 different machines and I am trying to connect through different ports now. If I connect separately it works great but if I want to connect to the 2nd one it will fail every time. So yeah the first session works and not the second one. The second session is trying to connect to the first machine with the second machine's username/password. No idea why though :/

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