Re: connect questions
gianluca <[email protected]> Thu, 12 Aug 2004 09:23:32 +0200
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <200408120923.32452@gs> |
Alle 09:17, giovedì 12 agosto 2004, Tim Smith, ha scritto: > PgSQL.connect(host="10.0.0.1",database="training",user="pgsql",password="") from pyPgSQL import PgSQL host="your_host" port="5432" database="your_db" user="user_name" password="your_password" strCnn= host + ":" + port + ":" + database + ":" + user + ":" + password cnn = PgSQL.connect(strCnn) -- Saluti gs If you think things can't get worse it's probably only because you lack sufficient imagination. ------------------------------------------------------- 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