Richard is correct -- you can't connect to the MySQL database directly. The
sandbox does not permit direct network connections:

http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox

But you can build a HTTP-accessible web service in front of it and use App
Engine's URL Fetch service to ping this in order to interact with your MySQL
database indirectly.

- Jason

On Thu, Oct 22, 2009 at 10:41 AM, Richard <[email protected]> wrote:

>
> I think you'll need to build a web service in front of the MySQL db
> and call it from GAE's urlfetch.  I don't see how you could connect
> directly.
>
> Regards,
> Richard
>
> On Oct 22, 7:54 am, seagull1 <[email protected]> wrote:
> > For my app, I need to access an external MySQL database and add data
> > (this is a connection between my app and a project outside of my
> > control). My app uses JDOs and all that what not.
> >
> > I see that java.sql is on the white list, but perhaps some other
> > things are not (Drivers and ability to make eternal connections)
> >
> > So, is there a way for me to make this connection to the external
> > MySQL database?
> >
> > Thank you for the help
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to