gpt4 book ai didi

mysql - 无法访问我的网站/管理员

转载 作者:行者123 更新时间:2023-11-29 19:13:14 27 4
gpt4 key购买 nike

每当我访问我的网站地址/admin 时,就会出现此问题

Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'hotstepp_ocart25'@'localhost' (using password: YES) in /home/hotstepp/public_html/system/library/db/mysqli.php on line 7

Warning: mysql_error() expects parameter 1 to be resource, object given in /home/hotstepp/public_html/system/library/db/mysqli.php on line 10

Warning: mysql_errno() expects parameter 1 to be resource, object given in /home/hotstepp/public_html/system/library/db/mysqli.php on line 10

Notice: Undefined variable: trace in /home/hotstepp/public_html/system/library/db/mysqli.php on line 10

Notice: Undefined variable: trace in /home/hotstepp/public_html/system/library/db/mysqli.php on line 10

Notice: Undefined variable: sql in /home/hotstepp/public_html/system/library/db/mysqli.php on line 10

Fatal error: Uncaught exception 'Exception' with message 'Error: <br />Error No: <br /> Error in: <b></b> line <b></b><br />' in /home/hotstepp/public_html/system/library/db/mysqli.php:10 Stack trace: #0 /home/hotstepp/public_html/system/library/db.php(9): DB\MySQLi->__construct('localhost', 'hotstepp_ocart2...', 'S(D!79r0HP', 'hotstepp_ocart2...', '3306') #1 /home/hotstepp/public_html/system/framework.php(25): DB->__construct('mysqli', 'localhost', 'hotstepp_ocart2...', 'S(D!79r0HP', 'hotstepp_ocart2...', '3306') #2 /home/hotstepp/public_html/index.php(22): require_once('/home/hotstepp/...') #3 {main} thrown in /home/hotstepp/public_html/system/library/db/mysqli.php on line 10

如何修复它?

谢谢

最诚挚的问候

最佳答案

看起来,您有两个不同的 MySQL 密码 - 一个用于公共(public)用户(可能 - 授予 SELECT,也许 INSERT 到某个评论表或其他内容),另一个用于管理部分。并且管理站点的密码错误。检查配置,尝试更改密码。可以尝试公共(public)配置的密码,但仅将此用于测试连接 - 如果正确授予权限,管理面板可能会停止工作。

关于mysql - 无法访问我的网站/管理员,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42911636/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com