I have a similar problem from this question How to dump remote database without mysqldump?
How ever when I run
ssh -f L 3306:localhost:3306 user@remoteserver -N
I am receive the following error
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 3306
Could not result local forwarding