title: Wiki.js not running. Database Connection Error
body: <p>Windows Enterprise 2016 LTSB Version 1607. Installed Wiki.js with PostgreSQL. Has Node.js installed previously (v12.16.2).</p>
  <p>Got to <a href="https://docs.requarks.io/install/windows" rel="noreferrer">step 8</a> of wiki.js installation process using the Powershell:</p>
  <pre><code>node server
  </code></pre>
  <p>I receive this error:</p>
  <pre><code>PS C:\wiki&gt; node server
  Loading configuration from C:\wiki\config.yml... OK
  2021-01-03T23:06:14.299Z [MASTER] info: =======================================
  2021-01-03T23:06:14.300Z [MASTER] info: = Wiki.js 2.5.170 =====================
  2021-01-03T23:06:14.301Z [MASTER] info: =======================================
  2021-01-03T23:06:14.301Z [MASTER] info: Initializing...
  2021-01-03T23:06:14.688Z [MASTER] info: Using database driver pg for postgres [ OK ]
  2021-01-03T23:06:14.690Z [MASTER] info: Connecting to database...
  2021-01-03T23:06:15.698Z [MASTER] error: Database Connection Error: ECONNREFUSED 127.0.0.1:5432
  2021-01-03T23:06:15.698Z [MASTER] warn: Will retry in 3 seconds... [Attempt 1 of 10]
  2021-01-03T23:06:18.700Z [MASTER] info: Connecting to database...
  2021-01-03T23:06:19.703Z [MASTER] error: Database Connection Error: ECONNREFUSED 127.0.0.1:5432
  2021-01-03T23:06:19.703Z [MASTER] warn: Will retry in 3 seconds... [Attempt 2 of 10]
  ... (you get the point)
  2021-01-03T23:06:51.728Z [MASTER] error: Database Connection Error: ECONNREFUSED 127.0.0.1:5432
  2021-01-03T23:06:51.729Z [MASTER] warn: Will retry in 3 seconds... [Attempt 10 of 10]
  2021-01-03T23:06:54.730Z [MASTER] info: Connecting to database...
  2021-01-03T23:06:55.733Z [MASTER] error: Database Initialization Error: connect ECONNREFUSED 127.0.0.1:5432
  </code></pre>
  <p>I realize that I forgot to create a PostgreSQL, so I used pgAdmin4.28 to create a &quot;wiki&quot; database. Error now changed to:</p>
  <pre><code>PS C:\wiki&gt; node server
  Loading configuration from C:\wiki\config.yml... OK
  2021-01-04T00:27:21.979Z [MASTER] info: =======================================
  2021-01-04T00:27:21.980Z [MASTER] info: = Wiki.js 2.5.170 =====================
  2021-01-04T00:27:21.981Z [MASTER] info: =======================================
  2021-01-04T00:27:21.982Z [MASTER] info: Initializing...
  2021-01-04T00:27:22.363Z [MASTER] info: Using database driver pg for postgres [ OK ]
  2021-01-04T00:27:22.365Z [MASTER] info: Connecting to database...
  2021-01-04T00:27:22.428Z [MASTER] error: Database Connection Error: 28P01 undefined:undefined
  2021-01-04T00:27:22.429Z [MASTER] warn: Will retry in 3 seconds... [Attempt 1 of 10]
  2021-01-04T00:27:25.431Z [MASTER] info: Connecting to database...
  2021-01-04T00:27:25.501Z [MASTER] error: Database Connection Error: 28P01 undefined:undefined
  2021-01-04T00:27:25.501Z [MASTER] warn: Will retry in 3 seconds... [Attempt 2 of 10]
  2021-01-04T00:27:28.503Z [MASTER] info: Connecting to database...
  2021-01-04T00:27:28.545Z [MASTER] error: Database Connection Error: 28P01 undefined:undefined
  2021-01-04T00:27:28.546Z [MASTER] warn: Will retry in 3 seconds... [Attempt 3 of 10]
  </code></pre>
  <p>Please send help! I appreciate all comments. Thanks!</p>