mySQL 数据库密码更改现在会使 Joomla 崩溃
我在 Joomla 安装后有一个 mySQL 数据库。 我更改了数据库密码,因为我忘记了它,但现在 Joomla 在查找数据库时崩溃了。
我猜 joomla 的密码写在某处 - 如果有人知道我可能可以手动编辑它并输入新的数据库密码。
否则我希望手动安装原始数据库的备份能够工作。 我需要知道备份是否包含数据库密码。 如果是,恢复原始数据库是否可以通过将系统恢复为原始密码来解决我的问题?
请帮忙。 谢谢, s。
I have a mySQL database behind a Joomla install. I changed the database password because I forgot it but now Joomla crashes looking for the database.
I guess joomla has the password written somewhere - if anyone knows I might be able to manual edit it and enter the new database password.
Otherwise I'm hoping a manual install of a backup of the original database will work. I need to know does a backup include the database password. If yes, will reinstating my original database solve the problem for me by reverting the system back to it's original password?
Please help.
thx,
s.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可能想查看您的configuration.php 和设置数据库连接的thease 变量:
该文件应该位于您的joomla-root 中。
You probably want to look at your configuration.php and thease variables which sets your database connection:
The file should be in your joomla-root.
我遇到了同样的问题,但即使更改 $password joomla 仍然崩溃。 事实证明,当我更改密码时,新密码太长,并且被截断(被 joomla 或 mysql,我不确定是哪一个)。 因此,如果上述解决方案不起作用,您可以尝试使用较短的密码。
I had the same problem, but even after changing $password joomla still crashed. It turned out that when I'd changed the password the new password was too long, and was being truncated (either by joomla or mysql, I'm not sure which). So you could try using a shorter password if the above solutions don't work.
我遇到了同样的问题,上面的方法对我有用,但密码应该位于 var 列表的底部
I ran into the same problem and the above worked for me, but the password should be down at the bottom of the list of var's
最简单的解决方案是:-
管理员
The most simple solution is :-
Admin