How to use PuTTY to tunnel to database

Solution 1:

In putty, my forward destination should have been 127.0.0.1:3306 instead of the public IP. I tried using localhost:3306 and that didn't work. It had to be 127.0.0.1 because that was all that MySQL was set to listen to.