rsteinmetz70112
March 20th, 2017, 08:03 PM
I upgraded a server to 16.04 and it didn't go well. I have all of the errors cleaned up but one application, Egroupware is not working. It seems there is a problem with be mysql database that holds all of the data.
This all worked fine before I upgraded.
I can open the database and look at the tables but the designated user (egroupware) can not access the database.
Here is some of the output from some basic mysql commands
#mysql -u root -p
mysql> SELECT host, user FROM mysql.user ;
+-----------+------------------+
| host | user |
+-----------+------------------+
| hamlet | root |
| localhost | debian-sys-maint |
| localhost | egroupware |
| localhost | mysql.sys |
| localhost | root |
+-----------+------------------+
5 rows in set (0.00 sec)
mysql> SHOW GRANTS FOR 'egroupware'@'localhost';
ERROR 1141 (42000): There is no such grant defined for user 'egroupware' on host 'localhost'
mysql> GRANT ALL ON *.* TO 'egroupware'@'localhost' WITH GRANT OPTION;
ERROR 1133 (42000): Can't find any matching row in the user table
This all worked fine before I upgraded.
I can open the database and look at the tables but the designated user (egroupware) can not access the database.
Here is some of the output from some basic mysql commands
#mysql -u root -p
mysql> SELECT host, user FROM mysql.user ;
+-----------+------------------+
| host | user |
+-----------+------------------+
| hamlet | root |
| localhost | debian-sys-maint |
| localhost | egroupware |
| localhost | mysql.sys |
| localhost | root |
+-----------+------------------+
5 rows in set (0.00 sec)
mysql> SHOW GRANTS FOR 'egroupware'@'localhost';
ERROR 1141 (42000): There is no such grant defined for user 'egroupware' on host 'localhost'
mysql> GRANT ALL ON *.* TO 'egroupware'@'localhost' WITH GRANT OPTION;
ERROR 1133 (42000): Can't find any matching row in the user table