On Sun, 08 Mar 2015 01:30:46 +0100, Reindl Harald wrote: > Am 08.03.2015 um 01:20 schrieb Thufir: >> I want to ssh into Mysql, something like: >> >> thufir@doge:~$ >> thufir@doge:~$ ssh -L 3306:localhost:3306 thufir@192.168.1.3 bind: >> Address already in use > > that is a pretty clear message > > you can't use port 3306 if you have running a mysqld on both machines, > so just use a different local port
Thanks. how is this: ssh -L 3305:localhost:3306 thufir@192.168.1.3 different from ssh thufir@192.168.1.3 they seem functionally equivalent, neither gives me a MySQL console right off the bat. (I'm reading the man page and trying to understand "bind" and the -L switch.) I'd like to be able to use my ssh key to facilitate the login process; for example, login remotely without a password, just using the key. thanks, Thufir -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql