July 2018
Intermediate to advanced
506 pages
16h 2m
English
Suppose we want to build a library management system that tracks information about books, members, and which books are checked out by which members. A simple database to track this information might look something like the following:

Let's use the Cloud SQL Proxy to connect to our hello-cloud-sql instance and execute a script to generate some tables that we can use in later examples. First, use gcloud to create a new database called library:
gcloud sql databases create library --instance=hello-cloud-sql
We'll use this database to manage library books ...