how to link database,
showing this error,
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'username'@'localhost' (using password: YES) in C:\xampp\htdocs\chat_room\config.php:11 Stack trace: #0 C:\xampp\htdocs\chat_room\config.php(11): PDO->__construct('mysql:dbname=ta...', 'username', 'password') #1 C:\xampp\htdocs\chat_room\index.php(1): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\chat_room\config.php on line 11