Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown MySQL server host amazon rds

I'm using linux command line to access amazon rds mysql, however, i keep getting the Unknown MySQL host error.

here is the command:

mysql -uxxx -pxxxx -hmydb.xxxx.us-west-2.rds.amazonaws.com:3306

I have added MySQL rule in the security group, but it still does not work.

like image 803
zheric Avatar asked Sep 28 '13 07:09

zheric


1 Answers

Or try: mysql -u xxx -p xxxx -h mydb.xxxx.us-west-2.rds.amazonaws.com --port=3306

like image 88
Dusan Plavak Avatar answered Oct 14 '22 02:10

Dusan Plavak