Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\games\billyards\index.php:5 Stack trace: #0 C:\xampp\htdocs\games\billyards\index.php(5): PDO->__construct('mysql:host=loca...', 'root', Object(SensitiveParameterValue)) #1 {main} thrown in C:\xampp\htdocs\games\billyards\index.php on line 5