On 23/07/12 14:43 +0700, muhammad razi wrote:
> I have some errors again.
> postgres@raziabe-laptop:/home/raziabe/Desktop/tryton/server/bin$ psql -f
> /Desktop/procedure.sql -U admin moduleDB
> here :
> could not change directory to "/home/raziabe/Desktop/tryton/server/bin"
> psql: warning: extra command-line argument "moduleDB" ignored
> psql: FATAL:  Peer authentication failed for user "admin"
> 
> I take a .sql file in directory /Desktop. then, I have one database that I
> create in tryton client. name is moduleDB.
> 
> admin is user name in tryton client.

You must use a username of the database.

> Do I have to postgres?

It will work but better to use the owner of the database.

PS: Please don't top-post on this mailing list. See
http://groups.tryton.org/netiquette
-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpXcuFCKKOiy.pgp
Description: PGP signature

Reply via email to