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.
Before you create a web app that uses Cloud SQL, you must: