Is the MySQL server set to accept connections from remote systems?  By 
default it will reject all connections except from the host where it is 
installed.

-Jim

On Thursday, July 13, 2017 at 12:04:06 PM UTC-5, Kritika wrote:
>
> How to connect to a remote mysql server in web2py?
> I tried this:
>
>     db = DAL('mysql://root:password@ipaddress/portal')             
>
> But got the following error:
>
> > OperationalError: (2003, "Can't connect to MySQL server on '10.4.20.61' 
> (113)") 
>
> Mysql server is on an Ip behind a proxy.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to