Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/api/medinotes/html/index.php:6 Stack trace: #0 /var/www/api/medinotes/html/index.php(6): PDO->__construct('mysql:host=loca...', 'api', 'BT/;D!y646zw', Array) #1 {main} thrown in /var/www/api/medinotes/html/index.php on line 6