Thursday, October 27, 2011

Django and Google Cloud SQL

Hi!

According to http://code.google.com/apis/sql/faq.html#django Google
Cloud SQL is not compatible with Django.

Anyone knows why? I can't try it by myself because I don't have access
to Cloud SQL. Sounds like we need to write a specific Django backend
and it should be easy because of PEP-249. If no one is working on it
I'd like to give it a shot but again I'm not part of the Cloud SQL
beta.

Thank you.

Regards,

Mickaël

Re: JDBC connection string problems

I figured it out.

DriverManager.registerDriver(new com.google.cloud.sql.Driver()); //
Actually this step may not be necessary.
String url = jdbc:google:rdbms://myinstance:sub
Connect c = new com.google.cloud.sql.Driver().connect(url, new
Properties());

The com.google.cloud.sql.Driver comes from the jar provided when you
download google_sql_tool.

You will also need to run the google sql tool once, to establish
credentials.



Re: JDBC connection string problems

I have been trying to achieve the same functionality as JJ.

How does Squirrel do it then...? (http://code.google.com/apis/sql/
docs/usingsquirrel.html)There
must be some way, i can't figure out
they're doing it.


Saturday, October 22, 2011

What is Google Cloud SQL?

Google Cloud SQL is web service that allows you to create, configure, and use relational databases with your App Engine applications. It is a fully-managed service that maintains, manages, and administers your databases, allowing you to focus on your applications and services.


By offering the capabilities of a MySQL database, the service enables you to easily move your data, applications, and services into and out of the cloud. This allows for high data portability and helps in faster time-to-market because you can quickly leverage your existing database (using JDBC and/or DB-API) in your App Engine application.

To ensure that your critical applications and services are always running, Google Cloud SQL replicates data to multiple geographic regions to provide high data availability.

The service is currently in limited preview.

Source : http://code.google.com/apis/sql