stevland
Basic Pleskian
Today I came to the realization that I cannot add or delete any of the databases that belong to any of my clients on my server.
I had been receiving this error:
Error: Unable to remove some of the selected databases. The user specified as a definer ('root'@'localhost') does not exist
So I found and ran this fix:
# plesk db
# CREATE USER 'root'@'localhost' IDENTIFIED BY 'typepasswordhere';
Now when trying to add or remove a database I receive a new error:
Error: Connection to the database server failed: View 'mysql.user' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
(I'm not sure if it is related or not, but I updated MariaDB a few days ago. I'm pretty sure that I created a new database after doing so though).
CentOS Linux 7.7.1908 (Core)
Plesk Onyx
Version 17.8.11 Update #80
mysql 10.4.11-1.el7.centos
10.4.11-MariaDB MariaDB Server
I had been receiving this error:
Error: Unable to remove some of the selected databases. The user specified as a definer ('root'@'localhost') does not exist
So I found and ran this fix:
# plesk db
# CREATE USER 'root'@'localhost' IDENTIFIED BY 'typepasswordhere';
Now when trying to add or remove a database I receive a new error:
Error: Connection to the database server failed: View 'mysql.user' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
(I'm not sure if it is related or not, but I updated MariaDB a few days ago. I'm pretty sure that I created a new database after doing so though).
CentOS Linux 7.7.1908 (Core)
Plesk Onyx
Version 17.8.11 Update #80
mysql 10.4.11-1.el7.centos
10.4.11-MariaDB MariaDB Server
Last edited: