Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in D:\Html\users\userweb509\Html\MAT-February-2017\appy_code\libs\database.php:20
Stack trace:
#0 D:\Html\users\userweb509\Html\MAT-February-2017\appy_code\libs\database.php(20): PDO->__construct('mysql:host=loca...', 'root', 'P@ssw0rd?MYsql?')
#1 D:\Html\users\userweb509\Html\MAT-February-2017\appy_code\libs\database.php(32): DBConnect->__construct()
#2 D:\Html\users\userweb509\Html\MAT-February-2017\views\loggedout\MIList.php(34): DataBase->select('fetch', 'pmi_list', Array, 'All', 0, 'region, name_of...')
#3 D:\Html\users\userweb509\Html\MAT-February-2017\appy_code\libs\view.php(15): require('D:\\Html\\users\\u...')
#4 D:\Html\users\userweb509\Html\MAT-February-2017\appy_code\controllers\DefaultPage.php(19): view->render('loggedout/MILis...', 'appy_code/confi...')
#5 D:\Html\users\userweb509\Html\MAT-February-2017\appy_code\libs\bootstrap.php(118): DefaultPage->CallPage('loggedout/', 'MIList', 'app in D:\Html\users\userweb509\Html\MAT-February-2017\appy_code\libs\database.php on line 20