Connect to the Amazon Aurora database service (RDS)
You can connect to the Aurora database on Amazon RDS database as follows:
-
Obtain the endpoint for your RDS instance from the “Outputs” field of the RDS stack in your CloudFormation deployment, as shown below:
-
Use the mysql command-line tool to connect to the Aurora database, as shown below. Replace the HOSTNAME placeholder with the actual endpoint for the Amazon RDS instance.
$ mysql -u root -p -h HOSTNAME
You will be prompted to enter the root user password. This is the same password you configured when deploying the solution.