Reputation: 55
I have a Google App Engine Java application, which uses Appengine datastore for its persistence (Using JPA and Datanucleus). Now I want to migrate my backend(database) to Google Cloud SQL. I have already created cloud sql account and instance. I also granted permission for my GAE app to use this instance.
Now, how I can i rewrite my app or what are the changes I should make to my application, in order to migrate to cloud sql.
Any good tutorial is there for it? Any help is greatly welcomed.
Upvotes: 0
Views: 1571
Reputation: 9183
I would suggest following Using Google Cloud SQL with App Engine Java SDK. Once you've configured an example database, create new tables for the entities in your datastore.
For the actual data migration you have a few possible routes:
INSERT
statements, and upload them to Cloud SQLUpvotes: 1