How I can connect tryton with with postgresql. Apart from that , I can't find configuration file of trytond

It seems to me like you are trying to connect tryton (gtk client) with the database.

You need Database + Server (trytond) + client (sao, tryton, etc)
The client (tryton) connects with trytond (server) and trytond connects with the database.

See components for a functional system.