[GH-ISSUE #56] SSH tunnel #177

Closed
opened 2026-03-07 20:41:51 +03:00 by kerem · 1 comment
Owner

Originally created by @Zilus on GitHub (Jun 22, 2017).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/56

I have a vagrant machine (with puphpet)
The only way to connect to MySQL is via ssh tunneling, IS there a way to use dbdiff with this type of connection?

Originally created by @Zilus on GitHub (Jun 22, 2017). Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/56 I have a vagrant machine (with puphpet) The only way to connect to MySQL is via ssh tunneling, IS there a way to use dbdiff with this type of connection?
kerem closed this issue 2026-03-07 20:41:51 +03:00
Author
Owner

@isgroup-srl commented on GitHub (Jul 30, 2017):

ssh -L 3306:localhost:3306 <host>

Please note that on the remote MySQL you need an account able to connect from 127.0.0.1 and not localhost.

Integrating the feature in DBDiff should not be difficult, it's an execve call to place before connecting.

<!-- gh-comment-id:318900900 --> @isgroup-srl commented on GitHub (Jul 30, 2017): ``` ssh -L 3306:localhost:3306 <host> ``` Please note that on the remote MySQL you need an account able to connect from `127.0.0.1` and not `localhost`. Integrating the feature in DBDiff should not be difficult, it's an execve call to place before connecting.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#177
No description provided.