Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Getting Started with Using Cloud SQL in Eclipse

Google Cloud SQL is a fully managed, highly available relational database tightly integrated with Google App Engine. Google Cloud SQL supports connections using MySQL wire protocol and any of the MySQL Connectors that provide standard database driver connectivity. Therefore, you can use Eclipse to work with Cloud SQL database as you would any MySQL database.

This section will show you how to:

  • Create a web application project that connects to a local MySQL database or a Google Cloud SQL instance.
  • Use a coding pattern that sets the JDBC connection URI based on the running environment (local or deployed).
  • Use the MySQL Connector/J driver in projects when running the web application locally or when running deployed, for example, to appspot.com.

Prerequisites

Before you create a web app that uses Cloud SQL, you must:

  1. Have a Google Cloud Platform project you can work with (see Creating a project ).
  2. Have a Google Cloud SQL instance (see Creating a Google Cloud SQL instance ).
  3. Have a database with some data (see Create your Google Cloud SQL database and tables ).

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.