Skip to content

Commit

Permalink
Add tip for psql -d template1 to avoid role not exist issue
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Apr 12, 2024
1 parent 4cc3c18 commit 8a5fb05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/intro/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ To assume the role of ``postgres`` run as root:
$ psql
.. tip::

If you see an error message like ``psql: FATAL: role "<role_name>" does not exist``, probably you don't have any role created yet.
You can use ``-d template1`` to connect to the default database and create a new role.

Create a new database user account for AiiDA by running:

.. code-block:: sql
Expand Down

0 comments on commit 8a5fb05

Please sign in to comment.