On Sat, Nov 25, 2006 at 07:59:19PM -0700, [EMAIL PROTECTED] wrote:
> $ ./import_members.pl users/members
> 
> DBI 
> connect('dbname=prodlsmb;host=localhost;port=5432',''Ledger-SMB_Owner'',...)
>   failed: FATAL:  role "'Ledger-SMB_Owner'" does not exist
>   at LedgerSMB/Sysconfig.pm line 99
> Error: No GlobalDBH Configured or Could not Connect
> Compilation failed in require at LedgerSMB/User.pm line 35.
> BEGIN failed--compilation aborted at LedgerSMB/User.pm line 35.
> Compilation failed in require at ./import_members.pl line 28.
> BEGIN failed--compilation aborted at ./import_members.pl line 28.
> 
> 
> 
> Need help in the import_users script.

Did you create the database user 'Ledger-SMB_Owner' before starting?  I
noticed in your long form you used sed to change the database user in
the various statements, but pg_dump does not create roles.

-- 
Seneca
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ledger-smb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to