Stuck with MySQL permission

Hi experts
I'm trying to config my metricbeat to track MySQL server.
Here is my config mysql
1
The result kibana collected is 2
I already use the query
GRANT ALL ON . to root@'%' IDENTIFIED BY 'pass';
in sql still error
How can i pass the error 1130.
Thanks

I would recommend to ensure your credentials are working with mysql client as it will make tests easier. Your command looks ok to me, did you flush privileges? It should be something like this:

GRANT ALL PRIVILEGES ON *.* TO root@’%’ IDENTIFIED BY ‘pass’;
FLUSH PRIVILEGES;

Hi @exekias tks for fast reply
Yes i did.
I follow https://stackoverflow.com/questions/2857446/error-1130-in-mysql but not working for me for some reason
Is it not allow root user or other reason?
If not have the solution can you show me if you have to analyze mysql with metricbeat, what do you do each strep?
Thank you for all

Isn't too many privileges for a monitoring user account? Using root for monitoring wont be following best practices.
Do you know what are the minimum privileges requirements ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.