I got the answer on irc: dburl= (which I got from the API docs on the website) shouldn't be used, instead, use host= and port= keywords.
On Mar 30, 4:54 pm, Greg Milby <[email protected]> wrote: > *umm, if it's remote then it's not local?* > *depending on the setup - you may want to be certain that once you get the > ip/dns correct (where you are connecting), then be certain the host db > (wwhere you are connecting) will accept the remote host ip/dns request.* > *hth* > *greg > * > > On Tue, Mar 30, 2010 at 10:29 AM, Oskar <[email protected]> wrote: > > Hey! > > > I'm trying to connect to a remote database, and using the > > "dburl='mydatabaseurl'" keyword in web.database(), but I get the error > > "Can't connect to MySQL server on 'localhost'". What am I doing wrong? > > I thought I was trying to connect to my remote database using dburl. > > > -- > > You received this message because you are subscribed to the Google Groups > > "web.py" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected] <webpy%[email protected]>. > > For more options, visit this group at > >http://groups.google.com/group/webpy?hl=en. -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
