$ Tunnel a MySQL server listening on a UNIX socket to the local machine

Listens on local port 5500 and connects to remotehost with username user to tunnel the given socket file. Will work with anything, but can be useful if there’s a need for a local application to connect with a remote server which was started without networking.

View this command to comment, vote or add to favourites
View all commands by michaelmior

commandlinefu.com

by David Winterbottom (codeinthehole.com)



Tags: