I Cannot connect to remote MySQL database using SSH tunnel
- by Scott
Brand new server, brand new MySQL 5.5 install on Ubuntu 12.04.
I can log in to the database as root from the command line.
I can log on via Navicat MySQL or Sequel Pro as root on port 3306 from my Mac.
I cannot log in using an SSH tunnel to the server and then to the database as root. I have tried both localhost and 127.0.0.1 as server for the local connection part. My password is fine. root is currently defined at %, 127.0.0.1, and localhost. I have set up this same type of connection at least 30 times before and never had a problem. The SSH connection gets made with no problem, and then it just hangs trying to connect to the DB and finally times out.
The only thing I changed in my.cnf was to comment out the bind-address = 127.0.0.1 line.
Any help? Any Ideas?