doubi8383 2018-06-17 03:53
浏览 46

cPanel数据库的配置文件导致500(内部服务器错误)

I've been trying to fix all the day. And it's definitely requiring the config that causes this to happen... Here's what I have in config.php

return [
    'database' => [
        'name' => 'graphgr1_depresstrology',
        'username' => 'graphgr1_mhazaa',
        'password' => '*Lesmondes2012*',
        'connection' => 'localhost',
        'options' => [
            PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION;
        ]
    ]
];

I definitely got the name/username/password right. The user has all access privileges. And the website is also hosted in the same server (both with directnic) So any ideas what problem might be? This is driving me nuts.

Also is there something else I can put in 'options' or something to get a more detailed description about the error.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 使用EMD去噪处理RML2016数据集时候的原理
    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
    • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
    • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
    • ¥15 如何在炒股软件中,爬到我想看的日k线
    • ¥15 seatunnel 怎么配置Elasticsearch
    • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
    • ¥15 (标签-MATLAB|关键词-多址)
    • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
    • ¥500 52810做蓝牙接受端