Using Cloud SQL
To start using Cloud SQL, we will now provision an instance by performing the following steps:
- From the navigation menu, select SQL:
- From the Cloud SQL Instances page, click CREATE INSTANCE:
- From the Create an instance page, click Choose MySQL:
- Provide an Instance ID and Root password, select the Region, and click Show configuration options:
- In the Connectivity section, select Private IP and unselect Public IP:
- In the Flags section, click Add item:
- Enter
sql_mode
in the Database flags field and select sql_mode: - Enter the following in the sql_mode field:
ONLY_FULL_GROUP_BY
,STRICT_TRANS_TABLES
,ALLOW_INVALID_DATES
,ERROR_FOR_DIVISION_BY_ZERO
,NO_AUTO_CREATE_USER
,...