Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\cabanatuancity\secure\connect.php on line 3

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)' in C:\xampp\htdocs\cabanatuancity\secure\connect.php:4 Stack trace: #0 C:\xampp\htdocs\cabanatuancity\secure\connect.php(4): PDO->__construct('mysql:host=loca...', 'root', '') #1 C:\xampp\htdocs\studies.php(3): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\cabanatuancity\secure\connect.php on line 4