For setting the wiki.js onto my linux server(ubuntu 20.04), I followed steps with url below.
Following to installation process, starting temporary web with node server root can connect to database but other user cannot.
How can I grant the right privilidge to user that named wikijs or nobody (or else)?
And I attach a picture of the symptoms above.
If you need more information, please let me know with comments. Thanks!


I got a solution for it.
The problem is cannot resolve the "localhost", and it is so beacaue of the
/etc/hostshas 600 permission.So, I changed the
/etc/hostspermission to 644.