views:

403

answers:

1

I just wanted to ask if we can access an external MySQL server from Google App Engine...

+5  A: 

The only way to communicate with other hosts is by using UrlFetch that only provides HTTP and HTTPS requests.
So, you can't do it out of the box.

Anyway, if you really need to access an external MySQL server database, you should consider to expose it through a Web API (RESTful, Soap web-services for example). In this way your data would be available also via UrlFetch.

systempuntoout
So there is no way to do this??
Shubh
Nope, i'm sorry
systempuntoout
And there are solutions to proxy mysql access through http interface. So it is not so impossible.
Alex Koshelev
Hello Alex.. You said this is not impossible. Are there some ready-made libraries to make this task easier?
Shubh