
{"id":5139,"date":"2021-10-05T08:25:13","date_gmt":"2021-10-05T07:25:13","guid":{"rendered":"http:\/\/dasini.net\/blog\/?p=5139"},"modified":"2021-10-05T08:25:16","modified_gmt":"2021-10-05T07:25:16","slug":"discovering-mysql-database-service-episode-10-connect-to-mysql-database-service-using-oci-cloud-shell","status":"publish","type":"post","link":"https:\/\/dasini.net\/blog\/2021\/10\/05\/discovering-mysql-database-service-episode-10-connect-to-mysql-database-service-using-oci-cloud-shell\/","title":{"rendered":"Discovering MySQL Database Service \u2013 Episode 10 \u2013 Connect to MySQL Database Service Using OCI Cloud Shell"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.mysql.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"www.mysql.com\">MySQL<\/a>, the <strong>world&rsquo;s most popular open source database<\/strong>, is available as a <strong>managed cloud service<\/strong> in <strong><a href=\"https:\/\/www.oracle.com\/cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\">Oracle Cloud Infrastructure<\/a><\/strong> (<strong><a href=\"https:\/\/www.oracle.com\/cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\">OCI<\/a><\/strong>) under the name of <strong><a href=\"https:\/\/www.oracle.com\/mysql\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"MDS\">MySQL Database Service<\/a><\/strong> (<strong><a href=\"https:\/\/www.oracle.com\/mysql\/\" target=\"_blank\" rel=\"noreferrer noopener\">MDS<\/a><\/strong>).<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p><strong>MySQL Database Service is a fully managed cloud service, 100% Developed, Managed and Supported by the MySQL Team.<\/strong><\/p><\/blockquote><\/figure>\n\n\n\n<p>This is the <span style=\"text-decoration: underline;\">tenth<\/span> episode of \u00ab\u00a0<strong><em><meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\"><strong><em><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/03\/discovering-mysql-database-service-episode-1-introduction\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service\">Discovering MySQL Database Service<\/a><\/em><\/strong><\/em><\/strong>\u00ab\u00a0, a series of tutorials where I will show you, step by step, how to use MySQL Database Service and some other Oracle Cloud Infrastructure services. <\/p>\n\n\n\n<p>Please also note that you can <strong>run this tutorial and thus try MySQL Database Service &amp; the other Oracle Cloud Infrastructure services <span style=\"text-decoration: underline;\">for free<\/span><\/strong>  by <a href=\"https:\/\/www.oracle.com\/cloud\/free\/\" target=\"_blank\" rel=\"noreferrer noopener\">starting your 30-day trial<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=376%2C282\" alt=\"MySQL Database Service\" class=\"wp-image-4715\" width=\"376\" height=\"282\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?w=801&amp;ssl=1 801w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=768%2C575&amp;ssl=1 768w\" sizes=\"auto, (max-width: 376px) 100vw, 376px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\">Planning episodes<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/03\/discovering-mysql-database-service-episode-1-introduction\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 1 \u2013 Introduction\">Introduction to the series <strong><em>Discovering MySQL Database Service<\/em><\/strong><\/a> <\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/10\/discovering-mysql-database-service-episode-2-create-a-compartment\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 2 \u2013 Create a compartment\">Create a compartment<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/17\/discovering-mysql-database-service-episode-3-create-a-virtual-cloud-network\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 3 \u2013 Create a Virtual Cloud Network\">Create a Virtual Cloud Network<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/24\/discovering-mysql-database-service-episode-4-dump-your-mysql-data-into-an-object-storage-bucket\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 4 \u2013 Dump your MySQL data into an Object Storage bucket\">Dump your MySQL data into an Object Storage bucket<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/31\/discovering-mysql-database-service-episode-5-create-a-mysql-db-system-from-a-mysql-shell-dump\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 5 \u2013 Create a MySQL DB system from a MySQL Shell dump\">Create a MySQL DB system from a MySQL Shell dump<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/07\/discovering-mysql-database-service-episode-6-update-the-private-subnet-security-list\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 6 \u2013 Update the Private Subnet Security List\">Update the Private Subnet Security List<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/14\/discovering-mysql-database-service-episode-7-use-a-bastion-ssh-port-forwarding-session\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session\">Use a Bastion SSH port forwarding session<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/21\/discovering-mysql-database-service-episode-8-connect-to-mysql-database-service-using-mysql-shell\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 8 \u2013 Connect to MySQL Database Service Using MySQL Shell\">Connect to MySQL Database Service Using MySQL Shell<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/28\/discovering-mysql-database-service-episode-9-connect-to-mysql-database-service-using-mysql-workbench\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 9 \u2013 Connect to MySQL Database Service Using MySQL Workbench\">Connect to MySQL Database Service Using MySQL Workbench<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/10\/05\/discovering-mysql-database-service-episode-10-connect-to-mysql-database-service-using-oci-cloud-shell\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 10 \u2013 Connect to MySQL Database Service Using OCI Cloud Shell\">Connect to MySQL Database Service Using OCI Cloud Shell<\/a><\/li><li>MySQL Database Service Features Overview<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-heading\">Episode 10 &#8211; Connect to MySQL Database Service Using OCI Cloud Shell<\/h1>\n\n\n\n<p>In the <a href=\"http:\/\/dasini.net\/blog\/2021\/09\/28\/discovering-mysql-database-service-episode-9-connect-to-mysql-database-service-using-mysql-workbench\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 9 \u2013 Connect to MySQL Database Service Using MySQL Workbench\">previous episode<\/a> <meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">we&rsquo;ve seen how to connect to our MySQL Database Service instance with MySQL Workbench using a SSH port forwarding from the OCI Bastion service. <\/p>\n\n\n\n<p>And in<strong> episode 8<\/strong> &#8211; <a href=\"http:\/\/dasini.net\/blog\/2021\/09\/21\/discovering-mysql-database-service-episode-8-connect-to-mysql-database-service-using-mysql-shell\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 8 \u2013 Connect to MySQL Database Service Using MySQL Shell\">Discovering MySQL Database Service \u2013 Episode 8 \u2013 Connect to MySQL Database Service Using MySQL Shell<\/a> &#8211; we\u2019ve seen how to connect to our MySQL Database Service instance with MySQL Shell using here again a SSH port forwarding from the OCI Bastion service.<\/p>\n\n\n\n<p>Two more steps to our <strong><em>Discovering MySQL Database Service<\/em><\/strong> journey. <\/p>\n\n\n\n<p>In this episode, we&rsquo;ll learn how to connect to our MySQL Database Service instance using the Oracle Cloud Infrastructure <strong>Cloud Shell<\/strong>. <br>It provides a pre-authenticated Oracle Cloud Infrastructure CLI and preinstalled developer tools for easily managing Oracle Cloud resources.<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Cloud Shell<\/h2>\n\n\n\n<p>Oracle Cloud Infrastructure Cloud Shell gives you access to an <span style=\"text-decoration: underline;\">always available Linux shell<\/span> directly in the Oracle Cloud Infrastructure Console.<\/p>\n\n\n\n<p>You can use the shell to interact with resources like MySQL Database Service, Oracle Container Engine for Kubernetes cluster, Oracle Autonomous Database, &#8230;<\/p>\n\n\n\n<p>Cloud Shell provides:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>An ephemeral machine to use as a host for a Linux shell, pre-configured with the latest version of the&nbsp;OCI&nbsp;Command Line Interface (CLI)&nbsp;and a number of useful tools<\/li><li>5GB of storage for your home directory<\/li><li>A persistent frame of the&nbsp;Console&nbsp;which stays active as you navigate to different pages of the console<\/li><\/ul>\n\n\n\n<p>For more information, please see the&nbsp;<a href=\"https:\/\/docs.cloud.oracle.com\/iaas\/Content\/API\/Concepts\/cloudshellintro.htm\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"OCI Cloud Shell documentation\">Cloud Shell documentation<\/a>&nbsp;<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Create a SSH port forwarding session<\/h2>\n\n\n\n<p>In <strong>episode 7<\/strong> &#8211; <a href=\"http:\/\/dasini.net\/blog\/2021\/09\/14\/discovering-mysql-database-service-episode-7-use-a-bastion-ssh-port-forwarding-session\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session\">Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session<\/a> &#8211; we created a Bastion, a SSH port forwarding (SSH tunneling) session and generated SSH key pair.<\/p>\n\n\n\n<p><br>We are now going to use these in order to connect to MDS with Cloud Shell. However if you remember well the CIDR block allowlist is set to your location (IP of your office, of your home if you WFH, &#8230;), but not the Cloud Shell IP.<\/p>\n\n\n\n<p>So many possibilities, we can setup this bastion only for Cloud Shell, we can add another bastion, dedicated for the Cloud Shell, we can update the current bastion. I&rsquo;ll go for this last option.<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>So the plan is to connect to Cloud Shell and get the IP address.<\/p>\n\n\n\n<p>Open the OCI console and click on the Cloud Shell icon, on the top right corner:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"444\" height=\"62\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_01_edited.png?resize=444%2C62\" alt=\"\" class=\"wp-image-5159\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_01_edited.png?w=444&amp;ssl=1 444w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_01_edited.png?resize=300%2C42&amp;ssl=1 300w\" sizes=\"auto, (max-width: 444px) 100vw, 444px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>It will open the Cloud Shell in the bottom of the browser (the first time it can takes some time).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"135\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_02-800x135.png?resize=800%2C135\" alt=\"\" class=\"wp-image-5162\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_02.png?resize=800%2C135&amp;ssl=1 800w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_02.png?resize=300%2C51&amp;ssl=1 300w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_02.png?resize=768%2C129&amp;ssl=1 768w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_02.png?w=1098&amp;ssl=1 1098w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>To get the IP address run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ curl ifconfig.me<\/code><\/pre>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>We can now update (or setup) the Bastion.<\/p>\n\n\n\n<p>Go to the OCI console, in the menu, go to:&nbsp;<em>Identity &amp; Security<\/em> \/ <em>Bastion<\/em>, Check that you are in the right compartment  then click on the Bastion we previously created &#8211; <em>BastionMDS<\/em> in this example &#8211; or create a new one if you prefer\/can.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"234\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_MDS_connection_mysqlsh_01.png?resize=663%2C234\" alt=\"\" class=\"wp-image-5075\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_MDS_connection_mysqlsh_01.png?w=663&amp;ssl=1 663w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_MDS_connection_mysqlsh_01.png?resize=300%2C106&amp;ssl=1 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Click on Edit<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"315\" height=\"222\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_03.png?resize=315%2C222\" alt=\"\" class=\"wp-image-5165\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_03.png?w=315&amp;ssl=1 315w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_03.png?resize=300%2C211&amp;ssl=1 300w\" sizes=\"auto, (max-width: 315px) 100vw, 315px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Update the <em>CIDR Block Allowlist<\/em> with the IP that you got when you executed <em>curl ifconfig.me<\/em>.<br>Don&rsquo;t forget the <strong>\/32<\/strong> (CIDR block)<\/p>\n\n\n\n<p>Then saves the changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"304\" height=\"151\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_04.png?resize=304%2C151\" alt=\"\" class=\"wp-image-5166\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_04.png?w=304&amp;ssl=1 304w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_04.png?resize=300%2C149&amp;ssl=1 300w\" sizes=\"auto, (max-width: 304px) 100vw, 304px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>We can now create a session and then get the SSH port forwarding command generated by OCI.<\/p>\n\n\n\n<p>Click on <em>Create Session<\/em> <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"302\" height=\"539\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/07\/OCI_bastion_04.png?resize=302%2C539\" alt=\"\" class=\"wp-image-5028\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/07\/OCI_bastion_04.png?w=302&amp;ssl=1 302w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/07\/OCI_bastion_04.png?resize=168%2C300&amp;ssl=1 168w\" sizes=\"auto, (max-width: 302px) 100vw, 302px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>And like we have seen in <a href=\"http:\/\/dasini.net\/blog\/2021\/09\/14\/discovering-mysql-database-service-episode-7-use-a-bastion-ssh-port-forwarding-session\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session\">Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session<\/a>, create the session with the relevant parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>the <em>Session Type<\/em>: <strong>SSH port forwarding session<\/strong><\/li><li>a <em>session name<\/em>: a meaningful one \ud83d\ude42<\/li><li>how to <em>connect to the target host<\/em> : we&rsquo;ll use IP Address. <\/li><li>the <strong>MySQL Database Service instance IP Address<\/strong>: the IP address that we got in <a href=\"http:\/\/dasini.net\/blog\/2021\/08\/31\/discovering-mysql-database-service-episode-5-create-a-mysql-db-system-from-a-mysql-shell-dump\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 5 \u2013 Create a MySQL DB system from a MySQL Shell dump\">Discovering MySQL Database Service &#8211; Episode 5 &#8211; Create a MySQL DB system from a MySQL Shell dump<\/a><\/li><li>the <strong>MySQL Database Service instance port<\/strong>: one of the port that we got in <a href=\"http:\/\/dasini.net\/blog\/2021\/08\/31\/discovering-mysql-database-service-episode-5-create-a-mysql-db-system-from-a-mysql-shell-dump\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 5 \u2013 Create a MySQL DB system from a MySQL Shell dump\">Discovering MySQL Database Service &#8211; Episode 5 &#8211; Create a MySQL DB system from a MySQL Shell dump<\/a>. I choose 3306 but you could have chosen 33060. <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"207\" height=\"387\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/07\/OCI_bastion_05_edited.png?resize=207%2C387\" alt=\"\" class=\"wp-image-5033\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/07\/OCI_bastion_05_edited.png?w=207&amp;ssl=1 207w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/07\/OCI_bastion_05_edited.png?resize=160%2C300&amp;ssl=1 160w\" sizes=\"auto, (max-width: 207px) 100vw, 207px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Then you can either generate (a new) SSH key pair or choose the<strong> public key<\/strong> we&rsquo;ve created in  <a href=\"http:\/\/dasini.net\/blog\/2021\/09\/14\/discovering-mysql-database-service-episode-7-use-a-bastion-ssh-port-forwarding-session\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session\">Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"251\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_05.png?resize=680%2C251\" alt=\"\" class=\"wp-image-5172\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_05.png?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_05.png?resize=300%2C111&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The <strong>private<\/strong> SSH key must be download into the Cloud Shell and be protected (chmod 600)<\/p>\n\n\n\n<p>Drag and drop your <strong>private SSH key<\/strong> to the Cloud Shell and execute chmod 600 on the file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ chmod 600 myPrivateKey.key<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"152\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_06.png?resize=642%2C152\" alt=\"\" class=\"wp-image-5177\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_06.png?w=642&amp;ssl=1 642w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_06.png?resize=300%2C71&amp;ssl=1 300w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"58\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_07-1.png?resize=563%2C58\" alt=\"\" class=\"wp-image-5180\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_07-1.png?w=563&amp;ssl=1 563w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_07-1.png?resize=300%2C31&amp;ssl=1 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>For the last steps we must now get the SSH port forwarding command generated by OCI and copy\/paste it to the Cloud Shell.<\/p>\n\n\n\n<p>To do so, when the session is active, go to the right and click on the action menu (3 vertical dots on the right). <br>A contextual menu is showing up then click on copy SSH command.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"213\" height=\"265\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_MDS_connection_mysqlsh_02.png?resize=213%2C265\" alt=\"\" class=\"wp-image-5077\"\/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Paste this command in your Cloud Shell prompt.<\/p>\n\n\n\n<p>The SSH command looks like :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh -i &lt;privateKey&gt; -N -L &lt;localPort&gt;:10.0.1.231:3306 -p 22 ocid1.bastionsession.oc1.eu-frankfurt-1.amaaaaaacicuulyams3rrxazerty1uiopqsd2fghjklm3wxcvbr4m7wpu52a@host.bastion.eu-frankfurt-1.oci.oraclecloud.com<\/code><\/pre>\n\n\n\n<p>Replace <em>&lt;privateKey&gt;<\/em> with the path to the private key we&rsquo;ve just downloaded. <\/p>\n\n\n\n<p>Replace <em>&lt;localPort&gt;<\/em> with a free port on the Cloud Shell &#8211; 3306 (and 33060) should be free.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ssh -i .\/ssh-key-discovering_MDS.key -N -L 3306:10.0.1.231:3306 -p 22 ocid1.bastionsession.oc1.eu-frankfurt-1.amaaaaaacicuulyams3rrxazerty1uiopqsd2fghjklm3wxcvbr4m7wpu52a@host.bastion.eu-frankfurt-1.oci.oraclecloud.com &amp;<\/code><\/pre>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>Before run the command add an <span style=\"text-decoration: underline;\">ampersand<\/span> (&amp;) at the end.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"131\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_08-800x131.png?resize=800%2C131\" alt=\"\" class=\"wp-image-5186\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_08.png?resize=800%2C131&amp;ssl=1 800w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_08.png?resize=300%2C49&amp;ssl=1 300w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_08.png?resize=768%2C126&amp;ssl=1 768w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_08.png?w=959&amp;ssl=1 959w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>FYI,&nbsp;the error message \u201c<em>bind: Cannot assign requested address<\/em>\u201d is not a problem, this is just because the Cloud Shell tries to bind on ipv6 too. <br>If you want to avoid it, just add&nbsp;<strong>-4<\/strong>&nbsp;between&nbsp;<em>ssh<\/em>&nbsp;and&nbsp;<em>-i<\/em>&nbsp;like this:&nbsp;<strong><em>ssh -4 -i<\/em><\/strong><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Connect to MDS using MySQL Shell in Cloud Shell<\/h2>\n\n\n\n<p>As you can see in the picture above, MySQL Shell is part of Cloud Shell.<\/p>\n\n\n\n<p>So we will use MySQL Shell to connect to our MySQL instance through the SSH tunnel using MySQL <\/p>\n\n\n\n<p>I recommend you to read <a href=\"http:\/\/dasini.net\/blog\/2021\/09\/21\/discovering-mysql-database-service-episode-8-connect-to-mysql-database-service-using-mysql-shell\/\" target=\"_blank\" rel=\"noreferrer noopener\">Discovering MySQL Database Service \u2013 Episode 8 \u2013 Connect to MySQL Database Service Using MySQL Shell<\/a> for more details.<\/p>\n\n\n\n<p>Basically you&rsquo;ll need the following information for the connection:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>MySQL client is here MySQL Shell : <strong>mysqlsh<\/strong><\/li><li>MySQL Database Service user you&rsquo;ve created : <strong>admin<\/strong><\/li><li>IP to connect to MDS (through the SSH tunnel) : <strong>localhost<\/strong><\/li><li>Port to connect to MDS (through the SSH tunnel) : <strong>3306<\/strong><\/li><li>Your MDS password<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"517\" src=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_10-1.png?resize=547%2C517\" alt=\"\" class=\"wp-image-5191\" srcset=\"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_10-1.png?w=547&amp;ssl=1 547w, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/08\/OCI_cloudshell_10-1.png?resize=300%2C284&amp;ssl=1 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>We are now connected to our MySQL Database Service instance \\o\/<br>The server version is here <strong>8.0.26-cloud MySQL Enterprise<\/strong> <\/p>\n\n\n\n<p>And as expected we can see and query the data we download during <a href=\"http:\/\/dasini.net\/blog\/2021\/08\/31\/discovering-mysql-database-service-episode-5-create-a-mysql-db-system-from-a-mysql-shell-dump\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 5 \u2013 Create a MySQL DB system from a MySQL Shell dump\">Discovering MySQL Database Service \u2013 Episode 5 \u2013 Create a MySQL DB system from a MySQL Shell dump<\/a>.  <\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Well, that&rsquo;s all for today!<br>In this episode, we have seen how to securely connect to a MySQL Database Service instance using the Oracle Cloud Infrastructure Cloud Shell through a SSH tunnel (port forwarding session) using the OCI Bastion service.<\/p>\n\n\n\n<p>Next episode is:<\/p>\n\n\n\n<p class=\"has-text-align-center has-luminous-vivid-orange-color has-black-background-color has-text-color has-background\"><strong><strong>MySQL Database Service Features Overview<\/strong><\/strong><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<ul class=\"has-luminous-vivid-orange-color has-text-color wp-block-list\"><li><a href=\"https:\/\/www.oracle.com\/mysql\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"MySQL Database Service (MDS)\">MySQL Database Service (MDS)<\/a><\/li><li><a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/mysql-database\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Documentation of MySQL Database Service \">Documentation of MySQL Database Service <\/a><\/li><li><a href=\"https:\/\/www.oracle.com\/cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Oracle Cloud Infrastructure (OCI)\">Oracle Cloud Infrastructure (OCI)<\/a><\/li><li><a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/libraries\/glossary\/glossary-intro.htm\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Oracle Cloud Infrastructure Glossary\">Oracle Cloud Infrastructure Glossary<\/a><\/li><li><a href=\"https:\/\/www.oracle.com\/cloud\/free\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Oracle Cloud Free Tier\">Oracle Cloud Free Tier<\/a><\/li><li><a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/Bastion\/home.htm\" target=\"_blank\" rel=\"noreferrer noopener\">Bastion<\/a><\/li><li><a href=\"https:\/\/www.oracle.com\/devops\/cloud-shell\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Oracle Cloud Infrastructure Cloud Shell\">Oracle Cloud Infrastructure Cloud Shell<\/a><\/li><li><a href=\"https:\/\/blogs.oracle.com\/cloud-infrastructure\/post\/announcing-oracle-cloud-shell\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Announcing Oracle Cloud Shell\">Announcing Oracle Cloud Shell<\/a><\/li><li><a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/API\/Concepts\/cloudshellintro.htm\" target=\"_blank\" rel=\"noreferrer noopener\">Cloud Shell Documentation<\/a><\/li><li><a href=\"https:\/\/blogs.oracle.com\/mysql\/using-oci-cloud-shell-bastion-with-mysql-database-service\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Using OCI Cloud Shell &amp; Bastion with MySQL Database Service\">Using OCI Cloud Shell &amp; Bastion with MySQL Database Service<\/a><\/li><li><a href=\"https:\/\/www.mysql.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MySQL &#8212; The world&rsquo;s most popular open source database<\/a><\/li><\/ul>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\">Planning episodes<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/03\/discovering-mysql-database-service-episode-1-introduction\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 1 \u2013 Introduction\">Introduction to the series <strong><em>Discovering MySQL Database Service<\/em><\/strong><\/a> <\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/10\/discovering-mysql-database-service-episode-2-create-a-compartment\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 2 \u2013 Create a compartment\">Create a compartment<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/17\/discovering-mysql-database-service-episode-3-create-a-virtual-cloud-network\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 3 \u2013 Create a Virtual Cloud Network\">Create a Virtual Cloud Network<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/24\/discovering-mysql-database-service-episode-4-dump-your-mysql-data-into-an-object-storage-bucket\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 4 \u2013 Dump your MySQL data into an Object Storage bucket\">Dump your MySQL data into an Object Storage bucket<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/08\/31\/discovering-mysql-database-service-episode-5-create-a-mysql-db-system-from-a-mysql-shell-dump\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 5 \u2013 Create a MySQL DB system from a MySQL Shell dump\">Create a MySQL DB system from a MySQL Shell dump<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/07\/discovering-mysql-database-service-episode-6-update-the-private-subnet-security-list\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 6 \u2013 Update the Private Subnet Security List\">Update the Private Subnet Security List<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/14\/discovering-mysql-database-service-episode-7-use-a-bastion-ssh-port-forwarding-session\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 7 \u2013 Use a Bastion SSH port forwarding session\">Use a Bastion SSH port forwarding session<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/21\/discovering-mysql-database-service-episode-8-connect-to-mysql-database-service-using-mysql-shell\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 8 \u2013 Connect to MySQL Database Service Using MySQL Shell\">Connect to MySQL Database Service Using MySQL Shell<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/09\/28\/discovering-mysql-database-service-episode-9-connect-to-mysql-database-service-using-mysql-workbench\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 9 \u2013 Connect to MySQL Database Service Using MySQL Workbench\">Connect to MySQL Database Service Using MySQL Workbench<\/a><\/li><li><a href=\"http:\/\/dasini.net\/blog\/2021\/10\/05\/discovering-mysql-database-service-episode-10-connect-to-mysql-database-service-using-oci-cloud-shell\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Discovering MySQL Database Service \u2013 Episode 10 \u2013 Connect to MySQL Database Service Using OCI Cloud Shell\">Connect to MySQL Database Service Using OCI Cloud Shell<\/a><\/li><li>MySQL Database Service Features Overview<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><a href=\"https:\/\/www.linkedin.com\/groups\/12524512\/\" target=\"_blank\" rel=\"noopener\" title=\"Olivier DASINI on Linkedin\">Follow me on Linkedin<\/a><\/p>\n\n\n\n<p>Watch my videos on my <a href=\"https:\/\/www.youtube.com\/channel\/UC12TulyJsJZHoCmby3Nm3WQ\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Olivier's MySQL Channel\">YouTube channel<\/a> and <a href=\"https:\/\/www.youtube.com\/channel\/UC12TulyJsJZHoCmby3Nm3WQ\/?sub_confirmation=1\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Subscribe\">subscribe<\/a>.<\/p>\n\n\n\n<p>My <a href=\"https:\/\/www.slideshare.net\/freshdaz\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Olivier DASINI on Slideshare\">Slideshare account<\/a>.<\/p>\n\n\n\n<p>My <a href=\"https:\/\/speakerdeck.com\/freshdaz\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Olivier DASINI on Speaker Deck\">Speaker Deck account<\/a>.<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>Thanks for using HeatWave &amp; MySQL!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL, the world\u2019s most popular open source database, is available as a managed cloud service in Oracle Cloud Infrastructure (OCI) under the name of MySQL Database Service (MDS).<\/p>\n<p>This is the tenth episode of \u201cDiscovering MySQL Database Service\u201c, a series of tutorials where I will show you, step by step, how to use MySQL Database Service and some other Oracle Cloud Infrastructure services. <\/p>\n<p>In this episode, we\u2019ll learn how to connect to our MySQL Database Service instance using the Oracle Cloud Infrastructure Cloud Shell.<br \/>\nIt provides a pre-authenticated Oracle Cloud Infrastructure CLI and preinstalled developer tools for easily managing Oracle Cloud resources.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1638,881,1637,203,339],"tags":[306,1639,1640],"class_list":["post-5139","post","type-post","status-publish","format-standard","hentry","category-cloud","category-howto","category-mds","category-mysql-en","category-tuto-en","tag-cloud","tag-mds","tag-oci"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9LfWW-1kT","jetpack-related-posts":[{"id":4719,"url":"https:\/\/dasini.net\/blog\/2021\/08\/10\/discovering-mysql-database-service-episode-2-create-a-compartment\/","url_meta":{"origin":5139,"position":0},"title":"Discovering MySQL Database Service &#8211; Episode 2 &#8211; Create a compartment","author":"Olivier DASINI","date":"10 ao\u00fbt 2021","format":false,"excerpt":"This is the second episode of \u201cDiscovering MySQL Database Service\u201c, a series of tutorials where I will show you, step by step, how to use MySQL Database Service and some other Oracle Cloud Infrastructure services. In the previous episode we've introduced the different components that we will use during this\u2026","rel":"","context":"Dans &quot;Cloud&quot;","block_context":{"text":"Cloud","link":"https:\/\/dasini.net\/blog\/category\/cloud\/"},"img":{"alt_text":"MySQL Database Service","src":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4943,"url":"https:\/\/dasini.net\/blog\/2021\/09\/07\/discovering-mysql-database-service-episode-6-update-the-private-subnet-security-list\/","url_meta":{"origin":5139,"position":1},"title":"Discovering MySQL Database Service \u2013 Episode 6 \u2013 Update the Private Subnet Security List","author":"Olivier DASINI","date":"7 septembre 2021","format":false,"excerpt":"MySQL, the world\u2019s most popular open source database, is available as a managed cloud service in Oracle Cloud Infrastructure (OCI) under the name of MySQL Database Service (MDS). This is the sixth episode of \u201cDiscovering MySQL Database Service\u201c, a series of tutorials where I will show you, step by step,\u2026","rel":"","context":"Dans &quot;Cloud&quot;","block_context":{"text":"Cloud","link":"https:\/\/dasini.net\/blog\/category\/cloud\/"},"img":{"alt_text":"MySQL Database Service","src":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4662,"url":"https:\/\/dasini.net\/blog\/2021\/08\/03\/discovering-mysql-database-service-episode-1-introduction\/","url_meta":{"origin":5139,"position":2},"title":"Discovering MySQL Database Service &#8211; Episode 1 &#8211; Introduction","author":"Olivier DASINI","date":"3 ao\u00fbt 2021","format":false,"excerpt":"This is the first episode of \u201cDiscovering MySQL Database Service\u201c, a series of tutorials where I will show you, step by step, how to use MySQL Database Service and some other Oracle Cloud Infrastructure services. Like any series, in this episode I\u2019m going to give you some context and set\u2026","rel":"","context":"Dans &quot;Cloud&quot;","block_context":{"text":"Cloud","link":"https:\/\/dasini.net\/blog\/category\/cloud\/"},"img":{"alt_text":"MySQL Database Service","src":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4745,"url":"https:\/\/dasini.net\/blog\/2021\/08\/17\/discovering-mysql-database-service-episode-3-create-a-virtual-cloud-network\/","url_meta":{"origin":5139,"position":3},"title":"Discovering MySQL Database Service &#8211; Episode 3 &#8211; Create a Virtual Cloud Network","author":"Olivier DASINI","date":"17 ao\u00fbt 2021","format":false,"excerpt":"This is the third episode of \u201cDiscovering MySQL Database Service\u201c, a series of tutorials where I will show you, step by step, how to use MySQL Database Service and some other Oracle Cloud Infrastructure services. In the previous episode we\u2019ve created our compartment, the foundation stone, of the architecture that\u2026","rel":"","context":"Dans &quot;Cloud&quot;","block_context":{"text":"Cloud","link":"https:\/\/dasini.net\/blog\/category\/cloud\/"},"img":{"alt_text":"MySQL Database Service","src":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4872,"url":"https:\/\/dasini.net\/blog\/2021\/08\/31\/discovering-mysql-database-service-episode-5-create-a-mysql-db-system-from-a-mysql-shell-dump\/","url_meta":{"origin":5139,"position":4},"title":"Discovering MySQL Database Service &#8211; Episode 5 &#8211; Create a MySQL DB system from a MySQL Shell dump","author":"Olivier DASINI","date":"31 ao\u00fbt 2021","format":false,"excerpt":"MySQL, the world\u2019s most popular open source database, is available as a managed cloud service in Oracle Cloud Infrastructure (OCI) under the name of MySQL Database Service (MDS). This is the fifth episode of \u201cDiscovering MySQL Database Service\u201c, a series of tutorials where I will show you, step by step,\u2026","rel":"","context":"Dans &quot;Cloud&quot;","block_context":{"text":"Cloud","link":"https:\/\/dasini.net\/blog\/category\/cloud\/"},"img":{"alt_text":"MySQL Database Service","src":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5105,"url":"https:\/\/dasini.net\/blog\/2021\/09\/28\/discovering-mysql-database-service-episode-9-connect-to-mysql-database-service-using-mysql-workbench\/","url_meta":{"origin":5139,"position":5},"title":"Discovering MySQL Database Service \u2013 Episode 9 \u2013 Connect to MySQL Database Service Using MySQL Workbench","author":"Olivier DASINI","date":"28 septembre 2021","format":false,"excerpt":"MySQL, the world\u2019s most popular open source database, is available as a managed cloud service in Oracle Cloud Infrastructure (OCI) under the name of MySQL Database Service (MDS). This is the ninth episode of \u201cDiscovering MySQL Database Service\u201c, a series of tutorials where I will show you, step by step,\u2026","rel":"","context":"Dans &quot;Cloud&quot;","block_context":{"text":"Cloud","link":"https:\/\/dasini.net\/blog\/category\/cloud\/"},"img":{"alt_text":"MySQL Database Service","src":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dasini.net\/blog\/wp-content\/uploads\/2021\/06\/MDS_car_801x600.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/posts\/5139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/comments?post=5139"}],"version-history":[{"count":57,"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/posts\/5139\/revisions"}],"predecessor-version":[{"id":5451,"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/posts\/5139\/revisions\/5451"}],"wp:attachment":[{"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/media?parent=5139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/categories?post=5139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dasini.net\/blog\/wp-json\/wp\/v2\/tags?post=5139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}