1. Stop service:
sudo service odoo stop
2. set the user odoo as a trusted user to all databases from local:
sudo nano /etc/postgresql/9.3/main/pg_hba.conf
then add the following line into the file:
local all odoo trust
then restart the postgresql:
sudo service postgresql restart
3. Start odoo with the db user odoo:
cd /usr/bin./odoo.py -r odoo
Reference:
Peer authentication failed for user "odoo"
沒有留言:
張貼留言