Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6957943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:04:35+00:00 2026-05-27T15:04:35+00:00

So Google Cloud SQL has a neat feature where you should be able to

  • 0

So Google Cloud SQL has a neat feature where you should be able to connect to your local DB instance for debugging locally as described here:

I’ve got the following VM arguements:

-Xmx512m -javaagent:C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle.1.4.2_1.4.2.v201102111811\appengine-java-sdk-1.4.2\lib\agent\appengine-agent.jar 
-Drdbms.server=local 
-Drdbms.driver=com.mysql.jdbc.Driver 
-Drdbms.url=jdbc:mysql://localhost:3306/testdb?user=root&password=pass

I’ve put the msql driver in the C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle.1.4.2_1.4.2.v201102111811\appengine-java-sdk-1.4.2\lib\impl folder and added it to the class path.

However when running a simple SELECT query (and this runs fine when deployed on GAE) it tosses the following exception.

java.sql.SQLException: Table not found in statement [SELECT * FROM SOME_TABLE] 

Here’s the offending code snippet:

            Connection c = null;
            try {
                    DriverManager.registerDriver(new AppEngineDriver());
                    c = DriverManager.getConnection(MY GOOGLE CLOUD SQL CXN STRING);
                    PreparedStatement ps = c.prepareStatement("SELECT * FROM SOME_TABLE");

                    ResultSet rs = ps.executeQuery(); 
    } catch (SQLException e) {
        e.printStackTrace();
            }

I suspect it’s not realizing it has to connect locally, what should I be checking?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:04:36+00:00Added an answer on May 27, 2026 at 3:04 pm

    Just to mark this as answered: solution provided by Dave W. Smith above

    From Dave W. Smiths comment:

    I don’t know how significant this is to the problem at hand, but 1.4.2
    is pretty far out of date.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible duplicate of: should-i-link-to-google-apis-cloud-for-js-libraries also many other discussions, including: Where do you include the
I have a question regarding the online Google cloud lab @ http://code.google.com/apis/sql/docs/developers_guide_java.html at the
I recently followed this tutorial on Google Cloud SQL and GWT: http://code.google.com/apis/sql/docs/developers_guide_java.html I deployed
As Google presented new service - Google Cloud Sql, I decided to migrate gwt+jpa+hibernate+spring+maven
Google App Engine is a cloud computing architecture that supports java based web services
Will everything go to the cloud? If so, in which direction? Google-Gears? Flash,AIR,JavaFX? See
I am evaluating cloud e-mail solutions based upon: Google Apps for Education Microsoft Live@edu
Google cloud storage allows users to check a publicly shared? field in the storage
I have a problem with Google Cloud Print. It works perfectly, but it's a
Is there any way to access Google Cloud Print in android? Provide any reference

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.