Pages

Bài đăng phổ biến

Showing posts with label WHM cpanel. Show all posts
Showing posts with label WHM cpanel. Show all posts

Tuesday, November 29, 2011

Cpanel : A fatal error has occurred DB Error: connect failed


Problem happen when password of database in file config difference with current password  of database horde.

Resolution: Change current password to same password in file config of horde.

/usr/local/cpanel/base/horde/config/conf.php
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'xxxxxxx';


mysql> UPDATE mysql.user SET Password=PASSWORD('YOUR-NEW-MYSQL-PASSWORD') WHERE User='horde';
mysql> FLUSH PRIVILEGES;
mysql> exit
 Nguyễn Sĩ Nhàn