Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/config/database.php:46
Stack trace:
#0 /var/www/html/config/database.php(46): PDO->__construct('mysql:host=loca...', 'root', Object(SensitiveParameterValue))
#1 /var/www/html/src/repositories/UserRepository.php(9): Database->getConnection()
#2 /var/www/html/src/controllers/AuthController.php(17): UserRepository->__construct(Object(Database))
#3 /var/www/html/index.php(62): AuthController->__construct()
#4 {main}
thrown in /var/www/html/config/database.php on line 46