No, the database password must be in cleartext, it can NOT be a hash. It might look like a hash, because we create a random one normally.
Anyway, if you have the mysql root password, you can run the following SQL to set again the password for the user egroupware:
GRANT ALL ON egroupware.* TO egroupware@localhost identified by '<password>';
Replacing <password>
with the value you have in your header.inc.php for db_pass.
The header- or config password ist most easy to generate again with setup:
- open the header.inc.php with a texteditor (eg. vi) and replace the header_admin_password with
{plain}Secret123
and the same for the config_passwd
- use
Secret123
to log into the header-admin (lower setup login) and set your desired password, which will be automatically hashed
Ralf