connect questions

Tim Smith <tims-kack0JyfEHS6c6uEtOJ/[email protected]> Thu, 12 Aug 2004 17:17:45 +1000
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
hello people, i know this is probably a really dumb question, but i 
can't seem to connect to my postgresql db. here is my code

from pyPgSQL import PgSQL

def Connect():
    db = 
PgSQL.connect(host="10.0.0.1",database="training",user="pgsql",password="")

and here is the error thats out putted

"user "timothy" does not exist"

timothy is the user thats logged into the system. so what am i doing 
wrong which makes it ignore the user i'm attempting to connect as?


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285