The '
Exporting data from Cloud SQL' and '
Importing data to Cloud SQL' articles provide very succinct guides on how to achieve the exporting and importing you seek. As there is no single click feature for you to modify a 1st generation Cloud SQL to a 2nd generation, you will need to do the following:
- Create a 2nd generation instance to your liking and needs
- Export the data from the 1st generation instance (possibly to Cloud Storage as in the article)
- Import the exported data into the new 2nd generation instance
This can be done very simply using the Developers Console 'Export' and 'Import' features when a Cloud SQL instance is selected. As mentioned by @Jesse, please note that the Beta version of Cloud SQL Second Generation does not yet support App Engine connectivity. For the moment, only specific networks can be granted access to second generation Cloud SQL instances. More information about this product can be found in the 'Announcing Cloud SQL Second Generation (beta)'[1] article.
[1]: https://cloud.google.com/sql/docs/introduction#beta-limitations
Please note that the second generation Cloud SQL instance is still in Beta and as such, not covered by any Service Level Agreement.
Cheers,