GAE restricts outbound connections except using GAE api, so I doubt
the pymysql driver will work. Moreover it would be very slow because
it will be unable to maintain state.

Massimo



On May 29, 4:55 pm, ra3don <ra3do...@gmail.com> wrote:
> I think this should be possible.
>
> You would just have to do:
> mysql://username:password@IP_OF_MYSQL_SERVER/DB_NAME
>
> I'd also imagine you would have to allow remote users in your MySQL
> database. If i'm not mistaken, the default is to allow only local
> users in, you will have to try your luck.
>
> If you have access to the server, then you should be able to edit: /
> etc/mysql/my.cnf to allow in remote users.
>
> Good Luck. Let me know what happens!
>
> On May 28, 10:29 pm, Ialejandro <ialejandr...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi every one!!!
>
> > I was wondering if is possible to deploy an app using GAE but taking
> > data from a MySQL server, for example
>
> > I have a free account at 000webhost with MySQL DB and I'd like to use
> > GAE just as a hosting service and connect to my 000webhost DB.
>
> > Is it possible??? if not, any suggestion for a free hosting to fully
> > use web2py???
>
> > Thank's!!!

Reply via email to