Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
62 views

Complete Guide To Getting Started With MySQL DB in The Oracle Cloud

This document provides a complete guide to getting started with MySQL DB in the Oracle Cloud. It details how to manually launch a MySQL DB system, virtual cloud network (VCN), and optional compute instance. It also describes how to deploy these resources automatically using Terraform and Oracle Cloud Infrastructure Resource Manager. The guide covers how to create compartments and groups/users, deploy the MySQL system, configure it, and connect to the database using various MySQL clients.

Uploaded by

dibpal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Complete Guide To Getting Started With MySQL DB in The Oracle Cloud

This document provides a complete guide to getting started with MySQL DB in the Oracle Cloud. It details how to manually launch a MySQL DB system, virtual cloud network (VCN), and optional compute instance. It also describes how to deploy these resources automatically using Terraform and Oracle Cloud Infrastructure Resource Manager. The guide covers how to create compartments and groups/users, deploy the MySQL system, configure it, and connect to the database using various MySQL clients.

Uploaded by

dibpal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Complete Guide to Getting Started with MySQL DB in the Oracle Cloud https://blogs.oracle.com/developers/post/complete-guide-to-getting-st...

Developers Blog

Developers Blog

1 of 30 8/13/2022, 11:06 AM
Complete Guide to Getting Started with MySQL DB in the Oracle Cloud https://blogs.oracle.com/developers/post/complete-guide-to-getting-st...

Complete Guide to Ge�ing Started with


MySQL DB in the Oracle Cloud
January 29, 2021 | 18 minute read

Todd Sharp

   
Back in September, we �nally announced the long-awaited MySQL Database Service in the Oracle
Cloud. It’s big news for developers who are familiar and comfortable with MySQL and want a
secure, fully managed cloud service to use with their applications. All of the features you’d expect
from a managed cloud service are there - automated backups, monitoring, integration with SDKs,
APIs and the OCI CLI. In this post, we’ll take a look at what it takes to deploy, con�gure, and connect
to a MySQL DB System in the Oracle Cloud. Let’s jump right into it!

Cheat Mode! The blog post below will show you, in detail, how to manually launch your MySQL
DB, a Virtual Cloud Network (VCN), and an optional Compute Instance as a bastion host. If you
prefer to automate your deployment with Terraform you can skip ahead to the section where we
look at how to deploy all of these resources automatically with Oracle Cloud Infrastructure
Resource Manager.

Since this guide is quite long, I've decided to add a Table of Contents here so that you can skip
ahead as necessary.

Create a Compartment

Create a Virtual Cloud Network (VCN)

Create a Compute Instance

Create a Group & User

Creating a MySQL System

Bonus - Deploy Resources with Terraform and OCI Resource Manager

Con�guring your MySQL DB System

Connecting to the MySQL DB System

Connecting with MySQL Shell

Connecting with MySQL Client

Connecting from MySQL Workbench

2 of 30 8/13/2022, 11:06 AM
Complete Guide to Getting Started with MySQL DB in the Oracle Cloud https://blogs.oracle.com/developers/post/complete-guide-to-getting-st...

Connecting from MySQL Workbench

Summary

Create a Compartment
The �rst thing that I recommend you do is to create a new compartment to store your MySQL
resources within. It’s not mandatory, but it helps to keep things, well, compartmentalized in your
cloud tenancy. In the Oracle Cloud console sidebar menu, select ‘Identity’ and then ‘Compartments’
and click on ‘Create Compartment’.

Give it a name - we’ll use mysql-compartment in this post if you’re playing along at home.

Create a Virtual Cloud Network (VCN)

3 of 30 8/13/2022, 11:06 AM

You might also like