I am trying to connect to my RDS MySQL instance using MySql client on a ubuntu terminal. When I type the following command and provide it the database password, I notice that it fails and it seems like it is trying to connect to a different hostname than the one I want it to connect to. What am I missing?
Desired DB Host: iraas.xxxxxxxxx.us-east-2.rds.amazonaws.com
Seems to be trying to connect to: pool-101-8-58-129.nwrknj.fios.verizon.net
mysql \
--host=iraas.xxxxxxxxx.us-east-2.rds.amazonaws.com \
--port=3306 \
--user=my-user -p blahblah
Enter password:
ERROR 1045 (28000): Access denied for user 'my-user'@'pool-101-8-58-119.nwrknj.fios.verizon.net' (using password: YES)