Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3300 Lượt xem

Hello everyone,

I started exploring the various features of Odoo.sh yesterday and I would like to know how to add a user who can access the database. Currently, after entering the Odoo.sh shell, I use the psql command to access the database. When I try to create a user by entering: CREATE USER readonly_user WITH PASSWORD 'readonly_user';


I receive a "permission denied to create role" error.

Additionally, when I run the command odoosh-sql-access status in the Odoo.sh shell, it shows "PostgreSQL External Access is only available on Odoo.sh dedicated servers."

Could anyone guide me on how to resolve this issue and successfully create a database user?


Thank you.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Users are created from within Odoo, not from within PostgreSQL

See https://www.odoo.com/documentation/master/applications/general/users.html

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 25
7326
1
thg 8 23
2476
0
thg 11 21
3498
1
thg 10 25
496
2
thg 10 25
656