T
T
trace82016-06-07 20:26:04
MySQL
trace8, 2016-06-07 20:26:04

How to connect to mySql with sftp access to the server?

They suggest that you need an ssh tunnel to the muscle port. How to do it? Throw materials or so explain. Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
landergate, 2016-06-07
@trase8

Usually having SFTP access = having SSH access, because SFTP runs on top of SSH.
Try connecting with an SFTP account to the server via an SSH client, such as Putty or its Kitty fork. Having opened a connection and logged in under the account, in the connection parameters:
Connection->SSH->Tunnels
Add new forwarded port:
Source port: 3307 (or any other)
Destination: 127.0.0.1:3306
Local, Auto
Add
After that, the client needs connect to 127.0.0.1:3307 (or whatever you specify)

T
ThunderCat, 2016-06-07
@ThunderCat

if only sftp then imkho in any way. If the server outside has http - you can put phpmyadmin, if there is php. Or another base taxiing script. Because sftp is an online file transfer protocol.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question