Command Line Tool
Google Cloud SQL provides a command line tool that connects to your instance and allows the execution of common SQL statements. The tool can be used to create, update, or delete databases, tables, and rows, and to run SELECT statements.
The SQL Prompt
The following are prerequisites steps that must be completed before you can install and run the command line tool:
Download the command line tool
Download the command line tool from:
Unzip the file into your preferred directory. You may wish to add the chosen directory to your system’s PATH.
Install the Java Development Kit
If the Java development kit (JDK) is not already installed on your system, please visit http://www.oracle.com/technetwork/java/javase/downloads/index.html to download and install the latest version.