Warning: pg_connect(): Unable to connect to PostgreSQL server: connection to server at "sql306.byethost10.com" (, port 3306 failed: Permission denied Is the server running on that host and accepting TCP/IP connections? in /var/www/delta/intn2201/includes/functions.php on line 8

Fatal error: Uncaught TypeError: pg_query(): Argument #1 ($connection) must be of type PgSql\Connection, bool given in /var/www/delta/intn2201/exam.php:110 Stack trace: #0 /var/www/delta/intn2201/exam.php(110): pg_query() #1 {main} thrown in /var/www/delta/intn2201/exam.php on line 110