問題:創(chuàng)建數(shù)據(jù)庫時 提示:Database creation error: Access denied 錯誤
分析:master 賬號密碼沒錯,可以復(fù)制數(shù)據(jù)庫,就是不能創(chuàng)建。
方法: 在odoo.conf,將 master 的密碼配置刪除。模仿第一次安裝ODOO時,系統(tǒng)Master沒有密碼也可以創(chuàng)建數(shù)據(jù)庫,有密碼反而失敗,那么就講密碼刪除掉在創(chuàng)建,果然成功。
失敗截圖
服務(wù)器配置截圖:
odoo管理數(shù)據(jù)庫有特定的master 賬號.
這個賬號并非數(shù)據(jù)庫賬號。慣性思維,以為和數(shù)據(jù)庫有關(guān)的必須用數(shù)據(jù)庫登錄賬號。
odoo不允許用PG的默認postgres賬號。用此賬號,ODOO 無法啟動,會報錯。