Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open Google Cloud SQL instance to see database

I have exported my google Cloud SQL instance to Google Cloud Storage. I have exported the file in the compressed format (.gz) to Cloud Storage bucket. Then after I downloaded to my system and extracted it using 7zip. How can open it in MySQL Workbench to see the database and values. Its file type is shown as instance name.

like image 924
Master Mind Avatar asked Feb 17 '14 06:02

Master Mind


Video Answer


1 Answers

The exported data from Cloud SQL is similar to what you get from mysqldump. It's basically a series of SQL statements that, when you run it on another server will run all the commands to get from a clean state to the exported state.

I'm not very familiar with MySQL Workbench, but from what I've read it allows you to manage your MySQL database, browsing tables and data. So you may need to upload your exported data to another MySQL server, for example a local one running on your computer.

Note that you could also connect directly from MySQL Workbench to your Cloud SQL instance by requesting an IP for your instance and authorizing the network that you'll connect from.

like image 64
Juan Enrique Muñoz Zolotoochin Avatar answered Sep 28 '22 08:09

Juan Enrique Muñoz Zolotoochin