Gene Steinberg
Regular Pleskian
This is the second time I am posting on a thread about this.
First time brought out the trolls, so here's the deal, all over again:
Following instructions to look for the latest supported version from MariaDB, I ended up with a 10.4.x version.
However, it munges the username, evidently.
So when I attempt to perform any database action, such as adding/removing a user or database I get:
Error: SQLSTATE[HY000]: General error: 1449 The user specified as a definer ('root'@'localhost') does not exist
Alas, the directions for fixing this are essentially unhelpful. Someone at the MariaDB support forum referred me to a document that discusses different options of adding a user, but none specifically designed to fix the above error.
Obviously restoring the server/image/whatever is a non-starter.
Plesk doesn't support anything beyond 10.3.x for now, and I assume that'll change over time (since it's a stable version).
In the meantime, this SQL (???) directive seems to offer a potential solution:
grant all on *.* to 'root'@'%' identified by 'password' with grant option;
But it's not at all clear where I put this (I'm not an SQL expert).
I assume in PHPMyAdmin, but that app in Plesk Obsidian is linked to specific databases, rather than having a "root" version as you do in WHM.
Any guidance?
Again, no trolls please. I assume this will take all of 30 seconds to resole with proper guidance.
Peace,
Gene
First time brought out the trolls, so here's the deal, all over again:
Following instructions to look for the latest supported version from MariaDB, I ended up with a 10.4.x version.
However, it munges the username, evidently.
So when I attempt to perform any database action, such as adding/removing a user or database I get:
Error: SQLSTATE[HY000]: General error: 1449 The user specified as a definer ('root'@'localhost') does not exist
Alas, the directions for fixing this are essentially unhelpful. Someone at the MariaDB support forum referred me to a document that discusses different options of adding a user, but none specifically designed to fix the above error.
Obviously restoring the server/image/whatever is a non-starter.
Plesk doesn't support anything beyond 10.3.x for now, and I assume that'll change over time (since it's a stable version).
In the meantime, this SQL (???) directive seems to offer a potential solution:
grant all on *.* to 'root'@'%' identified by 'password' with grant option;
But it's not at all clear where I put this (I'm not an SQL expert).
I assume in PHPMyAdmin, but that app in Plesk Obsidian is linked to specific databases, rather than having a "root" version as you do in WHM.
Any guidance?
Again, no trolls please. I assume this will take all of 30 seconds to resole with proper guidance.
Peace,
Gene