Conversation
supportAssuming my db user is “user@localhost”, which tables and permissions does that user need in the “mysql” database? Seems to me it should not be able to see some of the tables (e.g., “user”). GRANT <what> on mysql.<which> to 'user'@'localhost'; This topic was modified 3 years ago by Steven Stern (sterndata) .
There is a MariaDB Jira ticket for this which for some reason I can’t find right now, I’ll update when I can. For the Histograms button to work the user needs SELECT and INSERT access to the mysql.table_stats , mysql.column_stats and mysql.index_stats tables. This reply was modified 2 years, 12 months ago by Andrew Hutchings . Reason: markup typo
Thanks. I’m able to run histograms now.
No problem, I’ll mark this as resolved for now. But if you have any other issues please let us know.
There is a MariaDB Jira ticket for this which for some reason I can’t find right now, I’ll update when I can. For the Histograms button to work the user needs SELECT and INSERT access to the mysql.table_stats , mysql.column_stats and mysql.index_stats tables. This reply was modified 2 years, 12 months ago by Andrew Hutchings . Reason: markup typo
Thanks. I’m able to run histograms now.
No problem, I’ll mark this as resolved for now. But if you have any other issues please let us know.