sockets - Workbench Says: Failed to Connect to MySQL at 127.0.0.1:3306 through SSH tunnel at 34.xxx.xxx.xxx:22 with user root -


trying connect amazon server database through ssh, getting error "failed connect mysql @ 127.0.0.1:3306 through ssh tunnel @ 34.xxx.xxx.xxx:22 user root". same setting work on other pc. goes wrong how overcome it? working on ubuntu workbench.

help!

you need first figure out if workbench problem or connection problem. able connect database terminal? if succeeds, wil see password prompt. if after entering correct password, access denied, problem can ip trying connect remote database. need grant access.

mysql >grant on [databasename].* 'root'@'127.0.0.1' identified '[password]';

once have tried this, share findings here.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -