Error connecting to database

rebooted my server yesterday, now all I see is this when I try to access my server… Error connecting to database - check your database connection properties in constants.php file!

SQLSTATE[HY000] [2002] No such file or directory PHP Version : 7.3.11-1+ubuntu18.04.1+deb.sury.org+1

Fatal error: Uncaught Error: Call to a member function execute() on null in /srv/quickbox/inc/Session.php:0 Stack trace: #0 /srv/quickbox/inc/Session.php(0): Session->addActiveGuest(‘97.73.244.192’, 1575816198) #1 /srv/quickbox/inc/Session.php(0): Session->startSession() #2 /srv/quickbox/inc/controller.php(0): Session->__construct(Object(Database)) #3 /srv/quickbox/index.php(0): unknown() #4 {main} thrown in /srv/quickbox/inc/Session.php on line 0

saw a similar thread that suggested …

sudo su -
qb fix website

unfortunately that gives me a -su: /usr/local/bin/quickbox/system/qb: Permission denied