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. Do I have to postgres? Thank you On Mon, Jul 23, 2012 at 2:32 PM, Sharoon Thomas <[email protected]>wrote: > On Jul 23, 2012, at 12:55 PM, muhammad razi wrote: > > > But, I have some errors. here : > > :~/Desktop/tryton/server/bin$ *psql -f /Desktop procedure.sql moduleDB* > psql: FATAL: Peer authentication failed for user "moduleDB" > > > Either do it with postgres (or any other database user) as the current > user. > > If not specify the user using -U > > psql -f /Desktop/proecdure.sql -U <DB USER> moduleDB > > Thanks, > > Sharoon Thomas > Openlabs Technologies & Consulting (P) Limited > > w: http://www.openlabs.co.in > m: +1 813.793.6736 (OPEN) Extn. 200 > t: @sharoonthomas > > - We CARE for our customers > > -- > -- > [email protected] mailing list > > > > -- Best regrads, razi -- -- [email protected] mailing list
