Importing Dump File in Google Cloud SQL Instance
Importing Dump File in Google Cloud SQL Instance

Steps:
The following steps to be followed:-
Goto Overview tab in Cloud SQL Instance and click Edit Configuration
Save the instance.
Sql dump file - If the sql dump file contains keyword as DEFINER then remove the line DEFINER = ‘root’@’localhost’ from the sql dump file. Save and upload the file in google cloud storage.
Enter into the instance, click on Import, select the sql dump file location from cloud storage, select SQL as import format, expand show advanced options - and select database name from the drop down list.
Click on import.
You will get a message Import from gs://folder_name/sql_dump_file.sql succeeded, on successful import of file.
Connect via sql workbench and access the imported database.