1 |
On 12/15/11 16:11, Pandu Poluan wrote: |
2 |
> |
3 |
> Hmmm... |
4 |
> |
5 |
> Have you GRANT the 'sql-ledger' user the CONNECT privilege to the |
6 |
> database? |
7 |
> |
8 |
> Rgds, |
9 |
|
10 |
After installing postgresql I run: |
11 |
emerge --config =dev-db/postgresql-server-9.1.1 |
12 |
|
13 |
started postgresql-9.1 |
14 |
# su - postgres |
15 |
postgres@syscon5 ~ $ createuser -d sql-ledger |
16 |
y |
17 |
y |
18 |
exit |
19 |
|
20 |
that was it. |
21 |
|
22 |
# psql -U postgres -l |
23 |
List of databases |
24 |
Name | Owner | Encoding | Collate | Ctype | Access privileges |
25 |
-----------+----------+----------+-------------+-------------+----------------------- |
26 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | |
27 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + |
28 |
| | | | | postgres=CTc/postgres |
29 |
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + |
30 |
| | | | | postgres=CTc/postgres |
31 |
-- |
32 |
Joseph |