Created
January 3, 2019 12:46
-
-
Save BenSlabbert/dbc8ff11a97e08b1a0c20828df243c5e to your computer and use it in GitHub Desktop.
Flush Hosts (RDS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flush Hosts on RDS instances when you cannot directly connect. | |
Reset the master password on the instance | |
SSH into an EC2 instance which can connect to the instance | |
install the mysql client (Amazon AMIs) sudo yum install mysql | |
connect to the db as roort: | |
mysql -h <<RDS HOST>> -u root -p | |
Once connected execute: | |
FLUSH HOSTS; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment