Google Cloud SQL

To create a Google Cloud SQL database, run

INSTANCE_NAME_HERE = this can be anything, lowercase letters, 0-9, for identification purpose only.

db-n1-standard-1 => this is size of the server, you can change it as needed.

To create a Database, run

To create a User, run

To list all google cloud SQL instances, run

Google Cloud SQL

To list all databases in a Google Cloud SQL server, run

list databases in google cloud sql

To connect to Google Cloud SQL database, run

This will open firewall rule and add your IP so you can connect to Google Cloud SQL server.

Add a Comment

Your email address will not be published. Required fields are marked *