Error in database connection: SQLSTATE[HY000] [2002] Permission denied
Fatal error: Uncaught Error: Call to a member function prepare() on false in /var/www/html/reserve/hotelname/app/db2/Database.php:21
Stack trace:
#0 /var/www/html/reserve/hotelname/inc/config.php(77): App\db2\Database::selectOne()
#1 /var/www/html/reserve/hotelname/hotel.php(2): require('...')
#2 {main}
thrown in /var/www/html/reserve/hotelname/app/db2/Database.php on line 21