跳至內容
選單
此問題已被標幟
1 回覆
1718 瀏覽次數

When I install odoo, I cannot select the postgresql database. It detects that it is installed but not. What can I do? I have uninstalled postgresql and restarted the pc. If someone can help me thank you.

頭像
捨棄
最佳答案

Hi,

Please use the following terminal commands:

sudo apt-get install postgresql  

sudo su - postgres

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo17

psql

ALTER USER odoo17 WITH SUPERUSER;

\q

exit


These commands set up a PostgreSQL database and a user named "odoo17" with the necessary permissions for working with Odoo 17. The user's credentials (username and password) will likely be used in the Odoo 17 configuration file to connect to the PostgreSQL database.


Hope it helps


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 24
1928
0
11月 24
766
2
7月 24
1792
0
4月 24
1358
3
3月 24
1253