PostgreSQL default password
Step 1: open terminal
Step 2: su postgres
Note: If you don’t remember the postgres (ubuntu user) password then use the command ‘sudo passwd postgres’
Stept 3: Type ‘psql’ and enter
Step 4: Use the following command to change the posgres user password
alter user postgres with password ‘newpassword’;
‘\q’ is used to exit psql
and Finsish
Categories: Postgresql
PostgreSQL password in windows when installing openerp
when we install “openerp all in one” it also install postgresql.
with user name =’openpg’ and password =’openpgpwd ‘
open the pgAdmin III, open the query terminal from using above user name and password.
use the following command;
alter user openpg with password ‘new_passward’
note: new password will also need to reset in openerp server config files, else server will not connect to database.
Thank you sir
Thank you sir,
sir if want to run a program as debug using eclipse, what we will?
In Eclipse: follow menu Window->Show View->Other and then select Debug from Debug item.
now Add break points in your code by right clicking at your code’s right side column
Third Run your file in debug mode from Run-> ‘Deubg As’.
you will fine your code in debug view with its available tools on toolbar. enjoy
and thanks for complement
but first may we have too kill servers in terminal and i don’t know how the way we kill servers
i don’t know which servers u are talking about, can u plz explain ur question so that i can easily sort out your problem.
thanks
to run a program in debug mod in Eclips first we parform some command in terminal wiche are:
ps aux|grep openerp
sudo kill 2341
sudo kill 2576
But i am not clear that wiche server should kill and wiche should not kill to run a program in debuge mod
?
I never kill any process for debugging in eclipse and also i did not find any problem in OpenERP official blogs & discussion forums like u mentioned.
brother try debug in eclipse without killing any process. and btw brother! ps aux|grep openerp list the running processes in Ubuntu having name openerp, still i can’t able to understand, which server u want to kill and purpose.
wellcom
ok sir!
sir what is the consipt of Inheritance in openerp?
i.e: _inherit = ‘object.name’
Hi,
[qoute]
Note: If you don’t remember the postgres (ubuntu user) password then use the command ‘sudo passwd postgres’
[/quote]
Please check the following link at stack exchange.
http://serverfault.com/questions/110154/whats-the-default-superuser-username-password-for-postgres-after-a-new-install/248162#248162
It seems, resetting the postgres user password is not recommended. They suggest running the command as
sudo -u postgres psql postgres
Ubuntu Postgres installation guide also mentions the same methodology:
https://help.ubuntu.com/community/PostgreSQL
Thank you.
Thanks brother,
for your nice sharing, next i time will use the same way u told, and i think audience too