数据库连接失败 - 错误

时间:2015-02-15 22:24:44

标签: mysql database mysqli fatal-error

我需要帮助来解决这个错误。我们通过网站和商店购买了一个网站,并说明了“上传您提供的网站文件”。我已经直接在我们的CPanel中完成了这个,这是我收到的错误:

Database Connection Failed
Error: Access denied for user 'healthinsurancea'@'localhost' (using password: YES) (1045)
Function Performed: CONNECT
Host/DB: localhost/healthinsurancea_db
Database Type: mysqli

Fatal error: Attempt to connect to database healthinsurancea_db on healthinsurancea@localhost failed in /home/healthin/public_html/lib/adodb.functions.php on line 61
Database Connection Failed
Error: Access denied for user 'healthinsurancea'@'localhost' (using password: YES) (1045)
Function Performed: CONNECT
Host/DB: localhost/healthinsurancea_db
Database Type: mysqli

Fatal error: Attempt to connect to database healthinsurancea_db on healthinsurancea@localhost failed in /home/healthin/public_html/lib/adodb.functions.php on line 61

请告诉我如何解决此问题...谢谢

1 个答案:

答案 0 :(得分:0)

CPanel有一个选项,可能名称为“远程数据库”或类似名称。您应该将IP添加到您尝试从中连接的列表中。