MariaDB / MySql Warning after Netdata installation with netdata setup script. "Access denied for user 'netdata'@'localhost' (using password: NO)" How to fix?

Suggested template:


I have configured Netdata on an Ubuntu 20.04 Server LEMP server, according to this tutorial.

After installation with the official netdata setup script, netdata seems to be working correctly. Then, I run the following command

sudo systemctl status mariadb.service

which returns the following warning:

[Warning] Access denied for user 'netdata'@'localhost' (using password: NO)
  1. How is netdata running without a netdata database or mysql user for that database?
  2. What does this mean in regards to Netdata functionality?
  3. Does this mean Netdata is misconfigured?
  4. What can I do to fix it?
  1. Netdata isn’t running on MariaDb/MySQL; it’s using it’s own db engine.
  2. N/A
  3. The error is telling you that the netdata user is trying to login to MySQL and failing; it needs to do so in order to give you various stats about the database engine.
  4. If you want the monitoring of MySQL then add the required permissions for the netdata user:
    MySQL collector | Learn Netdata
1 Like

So essentially, if I just follow the instructions from the link you posted, everything will be good to go?