How to connect Google cloud SQL instance from Eclipse using app engine?

Tags:
Google App Engine
Google Cloud
MySQL 5.0
I am trying to connect to Google cloud SQL instance from eclipse in my app engine connected android project. So far I'm able to connect to cloud SQL instance using Class.forname("com.mysql.jdbc.Driver"). But it requires authorizing my IP address in Google cloud SQL every time I want to use the instance hence making it unfeasible. I know that while connecting from app engine I don't need to authorize my IP address. But for that, I have to use GoogleDriver ie. Class.forname("com.mysql.jdbc.GoogleDriver"). But when I run my code it gives me ClassNotFoundException. I am stuck at this situation for a long time. Please give me a proper solution to the problem?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: