Hi Robert,
It looks like your egroupware@localhost db user has not enough privilege to access to database egroupware. You can run the following in command line to see what are the privileges set for the egroupware@localhost and try to give Grant All maybe.
mysql -u root -p
mysql> SHOW GRANTS FOR ‘egroupware’@‘localhost’;
mysql> GRANT ALL ON . TO ‘egroupware’@‘localhost’ WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
** Note: connect to mysql with a user which has GRANT PRIVILEGES, like root
Hope this helps.
Best regards,