我的本地主机在浏览器上说类似 Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\registration\includes\db.php on line 3
的错误我已经完成了所有事情这里是浏览器中错误的图像。
而且如果我在我的代码编辑器中做错了那么这里是 db.php db.php 文件代码 的图像
原文由 ItsKishan 发布,翻译遵循 CC BY-SA 4.0 许可协议
这个问题很棘手。但是,我如何绕过它很简单。 in your
mysqli_connect(_,_,_,_)
arrange them in this order of"localhost"
,"user"
,"password"
,"database_name"
;