Installation POSTGRES 12.3
salut, je voudrais initialiser une instance de postgresql 12.3 sur la derniere version d'ubuntu, mais je suis confronte a l'erreur ci-dessous lorsque j'essaie d'initialer une instance de postgres. aidez moi a y voir plus.
Code:
1 2
|
initdb --data /usr/local/pgsql/data --data-checksums |
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
The files belonging to this database system will be owned by user "xxxxxx".
This user must also own the server process.
The database cluster will be initialized with locales
COLLATE: en_GB.UTF-8
CTYPE: en_GB.UTF-8
MESSAGES: en_GB.UTF-8
MONETARY: en_US.UTF-8
NUMERIC: en_US.UTF-8
TIME: en_US.UTF-8
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are enabled.
creating directory /usr/local/pgsql/data ... initdb: error: could not create directory "/usr/local/pgsql/data": Permission denied |
merci