I'm thinking of using Google Cloud SQL for the DB used for the drive memo application I'm making,
I don't know how to use it, so this is a memo when I checked it.

Even if I say I looked it up, I just googled it.

First of all, the initial setting.

* Java from Japan's site was useful.
Google Cloud SQL Initial Settings Google App Engine(Connecting Using MySQL Client)
http://java.sakura.ne.jp/base/page-287

I didn't know the settings on the way, so I made a memo link
Operate the database without using DBView in eclipse (1) Connect for the time being – William's Prank Development Diary
http://blog.goo.ne.jp/xmldtp/e/8cf1d195d8f18661884b7c1c90cca0c4

Things that were troubled with supplements

  • The location of the instance should be the same as the location of App Engine and the location of Cloud SQL.
  • Do not connect with errors around the 1.9.28th to 30th generations of the App engine library. Possibly a defective version?

And connection from outside

Google Cloud SQL Connection settings permission from outside Google App Engine(Connecting Using MySQL Client)
http://java.sakura.ne.jp/base/page-302

Things that were troubled with supplements

  • Can't connect with MySQL Workbench? The setting of Port is not Cloud SQL, so I did not know the setting there.

After all, it is solved by connecting with DBView with eclipse and creating a table, so is it good?