Reset the Controller Database Root User Password
To reset the Controller Database root user password:
- Log in to the RDS instance as admin:
-
./mysql -u admin -h <rds-aurora-endpoint> -P 3388 -p
-
- Use MySQL to run the commands:
- To specify the Controller database, enter:
use mysql;
- To reload the MySQL grant tables, enter:
FLUSH PRIVILEGES;
- To determine your MySQL version, enter:
select version();
- If you are using MySQL version 5.5, to configure the new password for the root user, enter:
update mysql.user set password=password('<new-password-here>') where user like 'root%';
- If you are using MySQL version 5.7. to configure the new password for the root user, enter:
update mysql.user set authentication_string=password('<new-password-here>') where user like 'root%';
- To reload the MySQL grant tables, enter:
FLUSH PRIVILEGES;
- To exit MySQL, enter:
quit
- To specify the Controller database, enter: