1.Reset Kloxo mysql password: --> Error "Could not open database connection." when access to Kloxo
sh /script/fix-program-mysql {mysqlrootpassword}
或
sh /script/fix-program-mysql
2.Reset Horde password: --> Error "Could not open database connection."
sh /script/fixhorde
3.Reset Roundcube password: --> Error "Could not open database connection."
cat /home/kloxo/httpd/webmail/roundcube/config/db.inc.php #查看配置文件
$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; #找到这行,修改数据库密码
service mysqld stop
mysqld_safe --skip-grant-tables &
mysql -u root
mysql>
mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD ('pass') WHERE User='roundcube';
mysql> FLUSH PRIVILEGES;
mysql> quit;
service mysqld start