#!/usr/bin/env php === Inventory Processing Test Script === Step 1: Checking database for unprocessed transactions... ERROR: DB Connection failed: SQLSTATE[08006] [7] connection to server at "localhost" (::1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? #0 /var/www/BAFTA/api/utils/DB.php(109): Core\DB->__construct() #1 /var/www/BAFTA/api/utils/QueryBuilder.php(43): Core\DB::getInstance() #2 /var/www/BAFTA/test_inventory_process.php(30): Core\QueryBuilder->__construct() #3 {main}