Hello,
I got last days such errors from MySQL Backup:
mysqldump: Couldn't execute 'show create table `wphh_uap_action_logs_view`': SHOW VIEW command denied to user 'backupuser'@'localhost' for table 'wphh_uap_action_logs_view' (1142)
The error is also generated when the command is triggered manually /sbin/e-smith/runmysqlbackup-rh-mariadb103
The table wphh_uap_action_logs_view is related to my WordPress installation within a vhost and is empty.
It corresponds to the plugin Uncanny Automator.
That plugin works well.
What should I do? Is it a problem with AutoMySQLBackup or UA?
The error is pretty strightfoward. 'backupuser'@'localhost' cannot execute the command show create table wphh_uap_action_logs_view
(remove some of backticks to allow code formatting)
Maybe that user have not the rights to dump tables that seems… logs? IDK, I don’t use Wordpress. Maybe you can simply add that ACL on MySQL for that tables.
ariaDB [(none)]> SHOW GRANTS FOR 'backupuser'@'localhost';
+----------------------------------------------------------------------------------------------------------------------------------------+
| Grants for backupuser@localhost |
+----------------------------------------------------------------------------------------------------------------------------------------+
| GRANT SELECT, LOCK TABLES, EVENT ON *.* TO `backupuser`@`localhost` IDENTIFIED BY PASSWORD '*AB078BC771F653B32E9A58DA' |
| GRANT ALL PRIVILEGES ON `dbhegeringwp01`.* TO `backupuser`@`localhost` |
+----------------------------------------------------------------------------------------------------------------------------------------+
But the error still remains, a little bit different.
ERROR 1045 (28000): Access denied for user 'backupuser'@'localhost' (using password: YES)