Re: [ADMIN] Connecting via perl gives root does not exist

2001-04-23 Thread Jie Liang
For other users, you have to provide username and password which should existed in your db. Jie LIANG St. Bernard Software 10350 Science Center Drive Suite 100, San Diego, CA 92121 Office:(858)320-4873 [EMAIL PROTECTED] www.stbernard.com www.ipinc.com On Sun, 22 Apr 2001, Randall Perry

[ADMIN] Connecting via perl gives root does not exist

2001-04-22 Thread Randall Perry
I'm new at PostgreSQL. So far, succesfully compiled installed it. Created a db, created a table, and 'copied' tab-delim data into it. Also downloaded and installed Perl Pg mod (that was a pain; had to sen ENV variables, and had to force install because of the "root" does not exist error in

Re: [ADMIN] Connecting via perl gives root does not exist

2001-04-22 Thread Randall Perry
on 4/22/01 11:25 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: use Pg; $conn = Pg::connectdb(dbname=tasbill); $res = $conn-exec(SELECT * from cust); while (@row = $res-fetchrow) { print join( , @row); } Works fine if I log in as 'postgres' before executing script, but fails if