If you happen to get an error accessing your RDS or got something like this :
And you’re not able to access your RDS server, you can fix it in two ways :
1. Reboot RDS instance
2. Log on to any EC2 instances that have and then log as Root.
mysqladmin -h <RDS ENDPOINT URL> -P <PORT> -u <USER> -p flush-hosts
*Use RDS main root account to log on your RDS instance.
* Command will prompt you password