Skip to content

Commit

Permalink
Update docs/source/intro/installation.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastiaan Huber <[email protected]>
  • Loading branch information
unkcpz and sphuber authored Apr 17, 2024
1 parent 16f8636 commit 5483f4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/intro/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ To assume the role of ``postgres`` run as root:
.. tip::

If you see an error message like ``psql: FATAL: role "<role_name>" 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 "<database_name>" 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 "<role_name>" does not exist`` or ``psql: FATAL: database "<database_name>" 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:

Expand Down

0 comments on commit 5483f4d

Please sign in to comment.