How to access remotly to a mysql server?
Posted
by
ÉricP
on Server Fault
See other posts from Server Fault
or by ÉricP
Published on 2011-03-20T15:17:11Z
Indexed on
2011/03/20
16:11 UTC
Read the original article
Hit count: 258
Hi,
I'm trying to access my remote mysql server from my own computer.
I uncommented:
bind-address = 80.10.65.45
I added 80.10.65.45 as a server in privilege
root 80.10.65.45 yes ALL PRIVILEGES yes
I'm using Sequel Pro on MacosX to connect via SSH
here is the debug log:
debug1: Authentication succeeded (password).
debug1: Local connections to LOCALHOST:58517 forwarded to remote address 127.0.0.1:3306
debug1: Local forwarding listening on ::1 port 58517.
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 58517.
debug1: channel 1: new [port listener]
debug1: Entering interactive session.
debug1: Connection to port 58517 forwarding to 127.0.0.1 port 3306 requested.
debug1: channel 2: new [direct-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 58517 for 127.0.0.1 port 3306, connect from 127.0.0.1 port 58519, nchannels 3
© Server Fault or respective owner