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

Hi, I have just installed OpenERP v7.0 on a Centos 6.3 server (minimal x64) with PostgreSQL 9.2 and now when I try create db from db manager in OpenERP Web Interface, the application show me this error:

OpenERP Server Error (code) Server Access denied.

I have used a script to install openERP, and works fine...but when I try create db from web interface, doesn't work. During script execution doesn't tell me nothing about master password of postgres or similar.

Thanks!

Ảnh đại diện
Huỷ bỏ

createdb -O bn_openerp testdb

Câu trả lời hay nhất

You can give bn_openerp user the right to create database (superuser), so you won't need to go through the cli to manage DB.

http://doc.openerp.com/v7.0/install/linux/postgres/index.html#first-method

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks! solved.

Click on the check mark on the left then ;)

Câu trả lời hay nhất

Solved. The problem is that script doesn't create any database for openerp. Solution: postgres=# create database testdb; postgres=# alter database testdb owner to bn_openerp;

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 15
17537
1
thg 7 22
2675
6
thg 1 24
15602
2
thg 1 17
5734
0
thg 5 16
5020