站点管理员还应该检查 config.php 中是否正确指定了数据库详细信息
我们已使用远程数据库配置 Moodle 应用程序连接。我收到数据库连接错误。当我使用 localhost 而不是远程 ip 时,它就可以工作了。有人可以帮忙吗。提前致谢。 下面是我的 config.php 文件
We have configured moodle application connection using remote Database.I'm getting Database connection error. When i'm use localhost instead of remote ip its working. Can anybody help. Thanks in advance.
the below is my config.php file
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要使用远程数据库,您需要在
config.php
中设置此值。有关详细信息,请参阅 Moodle 文件夹中的
config-dist.php
To use a remote database, you'll need to set this value in
config.php
See
config-dist.php
in your Moodle folder for details