Skip to content

Commit

Permalink
Add instruction for how to change port for pg_ctl
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Apr 12, 2024
1 parent 0dca43c commit 4cc3c18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/intro/install_conda.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ If you want to install AiiDA onto you own personal workstation/laptop, it is rec
(aiida) $ pg_ctl -D mylocal_db -l logfile start
.. tip::

You may encounter issue that ``5432`` port is already in use. In this case, you can pass the ``-o "-F -p <port-num>"`` option to the ``pg_ctl`` command, ``<port-num>`` being the desired port number.
Then for the ``psql`` command, you can pass the ``-p <port-num>`` option.

.. admonition:: Further Reading
:class: seealso title-icon-read-more

Expand Down

0 comments on commit 4cc3c18

Please sign in to comment.