Create Database
Connect to your ec2 instance terminal in order to carry out the task.
So to create a database we need to login into mysql with our credentials, use the following command:
mysql -h <endpoint_url_of_rds> -u <username> -p
Then enter password which we have created using RDS.
You will be taken to the mysql interpreter.
.png)
Now to create database ..command is
CREATE DATABASE ; (command to create database)
show databases; (command to see available databases)
Your database has been sucessfully created.
2
