From 5483f4ddc19e4101a8d86f1a5e055f8bbe6ad2bf Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Wed, 17 Apr 2024 12:33:46 +0200 Subject: [PATCH] Update docs/source/intro/installation.rst Co-authored-by: Sebastiaan Huber --- docs/source/intro/installation.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/intro/installation.rst b/docs/source/intro/installation.rst index 310451f2f8..479ba53666 100644 --- a/docs/source/intro/installation.rst +++ b/docs/source/intro/installation.rst @@ -42,9 +42,9 @@ To assume the role of ``postgres`` run as root: .. tip:: - If you see an error message like ``psql: FATAL: role "" does not exist``, probably you have not created any roles yet. - You can run ``psql -l`` to check the existing roles and specify the correct one with the ``-U`` option. - If the error message is ``psql: FATAL: database "" does not exist``, you can use the default database ``template1`` with ``psql -d template1`` to connect. + If you have installed PostgreSQL through Conda and you see an error like ``psql: FATAL: role "" does not exist`` or ``psql: FATAL: database "" does not exist``, the default role and database apparently do no exist. + The command ``psql -l`` prints the list of existing databases and the associated roles. + You can try connecting to one of those by using the ``-d`` and ``-U`` option to specify the database and role, respectively, for example, ``psql -d template0 -U some-role``. Create a new database user account for AiiDA by running: