aiidateam / aiida-core

The official repository for the AiiDA code
https://aiida-core.readthedocs.io
Other
431 stars 187 forks source link

DOC: add two tips for psql/pg_ctl DB management #6344

Closed unkcpz closed 5 months ago

unkcpz commented 5 months ago

First commit it to address the issue come up with https://aiida.discourse.group/t/cannot-connect-to-database/240 Second one is for issue I encountered and I have to go to google for help.

unkcpz commented 5 months ago

Some warnings that fail the doc build, I guess it is not bring by this PR?

sphuber commented 5 months ago

Some warnings that fail the doc build, I guess it is not bring by this PR?

Fixed it in https://github.com/aiidateam/aiida-core/pull/6346

unkcpz commented 5 months ago

Ah sorry, I mean psql: FATAL: database "<database_name>" does not exist, then specify with -d template1 can help.

psql -d template1 works in my case because I run initdb to create a DB first, as instructed in conda installation section. I changed the tip so that it is more clear explained.