*host='mysql.somewhere.com', port=3306 <--no quotes* *hth *----------------------- Visit http://www.superantispyware.com/superantispyware.html?rid=3971 Remove All The Spyware - Not Just The Easy Ones! http://1-4-u.info | Don't send insanely long links! Need a Pick-Me-Up? http://quotes.feedtheguru.com
On Fri, Jun 25, 2010 at 4:12 AM, umaydin <[email protected]> wrote: > hello everyone > how can I specify the hostname in web.database? > > db = web.database(dbn='postgres', db='mydata', user='dbuser', > pw='', .....) > > I tried host but no error returned with wrong password. I assume it > ignores undefined keywords. > > Anyone idea? > > -- > 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.
