Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in C:\_amp\htdocs\testmysql.php:11 Stack trace: #0 C:\_amp\htdocs\testmysql.php(11): mysqli->__construct('127.0.0.1', 'root', Object(SensitiveParameterValue), '', NULL) #1 {main} thrown in C:\_amp\htdocs\testmysql.php on line 11