A MySQL cloud server only allows remote access to a certain server (in this example, 22.214.171.124). Running the following commands from the terminal is verified to work:
ssh -p 40000 firstname.lastname@example.org
mysql -u dbuser -p -h example.com
But when combining them into command (in order to assign it to an alias), it doesn't work:
ssh -p 40000 email@example.com "mysql -u dbuser -p -h example.com"
No error message is displayed, and the terminal never outputs a returned response.