Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home/tahisco/secondary.dyccc.sc.tz/online_exam/private/db.php on line 9

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in /home/tahisco/secondary.dyccc.sc.tz/online_exam/private/db.php:10 Stack trace: #0 /home/tahisco/secondary.dyccc.sc.tz/online_exam/private/db.php(10): mysqli_query() #1 /home/tahisco/secondary.dyccc.sc.tz/online_exam/private/header.php(1): include('/home/tahisco/s...') #2 /home/tahisco/secondary.dyccc.sc.tz/online_exam/private/home.php(1): include('/home/tahisco/s...') #3 /home/tahisco/secondary.dyccc.sc.tz/online_exam/index.php(8): include('/home/tahisco/s...') #4 {main} thrown in /home/tahisco/secondary.dyccc.sc.tz/online_exam/private/db.php on line 10