0% found this document useful (0 votes)
5 views18 pages

Expt 6 - Printout

This document outlines the steps to create a MySQL database on AWS RDS, including logging into the AWS console, selecting database options, and configuring settings. It also describes how to download and set up MySQL Workbench, connect to the database, and perform basic SQL operations. Finally, it instructs on how to delete the database instance after use.

Uploaded by

monti885522
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views18 pages

Expt 6 - Printout

This document outlines the steps to create a MySQL database on AWS RDS, including logging into the AWS console, selecting database options, and configuring settings. It also describes how to download and set up MySQL Workbench, connect to the database, and perform basic SQL operations. Finally, it instructs on how to delete the database instance after use.

Uploaded by

monti885522
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Step1 : Login to aws console and search RDS

Step2: Click on to RDS and create database


Step 3: Select standard database

Step 4: Select MySQL and MySQL Community edition


Step 5:In Templates select Free tier

Step 6: Mention database name (default is database1) and username and password
Step 7: Instance is t2.micro

• Rest of things keep default


Step 8: Select Public Access -Yes
Step 9: Click on to create Database

Step 10: It will take some time

Step 11: Go to google type mysql workbench


Step 12: Click on to download

Step 12: MySQL community download – Microsoft Windows


Step 13: Click on to – No thanks , just download

Step 14: Go to downloads of your machine and install it with default settings
Check your database is created and status is available
Step 15: Click on to view credential

Step 16: Click on to database


Step 17: Copy Endpoint

Step 18: Go back to workbench


Step 20: Click on to mysql connection

Step 21:

Paste copied endpoint in Hostname

Connection Name : databaseShilpa

Username : admin

Click on to Test Connection

Enter admin password


Step 22: Go to vpc security group

Step 23: Click on to inbound rules

Step 24: First select Click on to Edit inbound rule add rule select ipv4 --all traffic (add 0.0.0.0./0) and
save Rules

(important step to add inbound rule)


Step 22: Goto workbench (after giving details click on to Test Connection)
Click on Ok button

Go to workbench double click on connection(databaseshilpa)

It will get opened


Step 23:

Write query and execute

Create database tsec;

Use tsec;

Show tables;

Create table for eg:

create table student( roll int, name varchar(10), city varchar(10));


Describe student;

insert into student values(1,'shilpa','thane'); (Perform all CURD) operations)

Step 24:

Now delete the instance (once you have done with it)

Select instance go to action stop instance and then delete instance


Uncheck create final shapshot

You might also like