I have a scenario where I cannot directly access the application database even though I know the host/port/password/user (due to some security groups which I can't change). I can, however, connect to the application instance via ssh:
Now I wanted to somehow execute mysql commands on the database instance. I can't seem to understand how.