Trouble Connecting to MySQL via SSH
问题 I am running a node Express website on my OS X machine locally. I need to ssh to a remote mysql database so I can start writing queries against it. Now I'm able to ssh to our remote server (running the mysql database) in the cloud when I do it via my OS X Yosemite terminal. But I haven't been successful trying to do it in code using the node-mysql and tunnel-ssh node middleware. My code runs but doesn't really error out except for my GET when debugging my express app in Webstorm. Some facts :