7.3 Endpoints

MySQL Client

In previous tutorials (7.1 & 7.2), we have seen how to use mysql-shell for connecting to MySQL System DB.

Let's access the MDS the same way again, and create a "test" database:

Another way of accessing the MDS can be done with the help of MySQL Client:

need to modify "remote-exec" provisioner for installing mysql-server

...and not access the MDS, by using the Private IP from the Endpoint section:

Importing datasets

For this example, the follwing repository will be used:

https://github.com/datacharmer/test_db

Clone the repository on the instance from which you can access the MDS:

Go under folder test_db, and log in again to MDS via MySQL Client:

Make sure you are under the exact folder (of the cloned repository), and then proceed with importing the employees.sql file:

Check if new database has been successfully imported:

Last updated