Quantcast
Viewing all articles
Browse latest Browse all 3724

Fail connecting remote localhost via SSH because of Local Wamp (no replies)

Hello.

I know my title is not set well, but i couldn't find the right words to explain in a little sentence.

So, I have set a SSH tunnel via Putty. I connect to my remote SQL server via MysqlWorkbench and a normal TCP/IP connection.
In that Workbench connection, i have hostame = localhost:3306 and port :3306.
It works well!

But now the change : i have installed a WAMP server on my PC.
Now, my connection does not reach my remote SQL Server, but it does connect to my Wamp SQL Server.
It is normal, because each hostname is localhost.

BUT, i would like to keep connecting to my remote SQL Server through this connection, and not ending connecting to my Wamp.

Do you know which parameters should i change?

How i do, which aprameters :
* connect to SSH tunnel set by Putty
Options : hostname : ovhdev.***.fr
Port : 2222 type of connection : SSH
SSH Tunnels : SourcePort : 3306 Destination : Localhost:3306 Local.
* connect via TCP IP set by Mysql Workbench. hostname : localhost:3306 username : root
* Wamp SQL Server (phpmyadmin) set on Localhost, port 3306 (found in my.ini)

Do you think i have to change the port in my.ini file?

Thanks to answer, i'm ripping my head off on this.

Viewing all articles
Browse latest Browse all 3724

Trending Articles