PDOException: SQLSTATE[08006] [7] could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432? in /home/aprsxe/trackdirect/htdocs/includes/pdoconnection.class.php:39
Stack trace:
#0 /home/aprsxe/trackdirect/htdocs/includes/pdoconnection.class.php(39): PDO->__construct()
#1 /home/aprsxe/trackdirect/htdocs/includes/pdoconnection.class.php(59): PDOConnection->createConnection()
#2 /home/aprsxe/trackdirect/htdocs/includes/pdoconnection.class.php(84): PDOConnection->getConnection()
#3 /home/aprsxe/trackdirect/htdocs/includes/pdoconnection.class.php(96): PDOConnection->prepare()
#4 /home/aprsxe/trackdirect/htdocs/includes/repositories/modelrepository.class.php(39): PDOConnection->prepareAndExec()
#5 /home/aprsxe/trackdirect/htdocs/includes/repositories/stationrepository.class.php(44): ModelRepository->getObjectFromSql()
#6 /home/aprsxe/trackdirect/htdocs/public/views/overview.php(3): StationRepository->getObjectById()
#7 /home/aprsxe/trackdirect/htdocs/public/index.php(316): include('/home/aprsxe/tr...')
#8 {main}