1

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

After installation, 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. What does this mean in regards to Netdata functionality?
  2. Does this mean Netdata is misconfigured?
  3. What can I do to fix it?
DanRan
  • 73
  • 1
  • 3
  • 22

1 Answers1

0

Have you created a netdata user in the db as per here?

Netdata needs its own db user with specific privileges.

https://learn.netdata.cloud/docs/data-collection/database-servers/mysql-and-mariadb#create-netdata-user

andrewm4894
  • 101
  • 2
  • Thanks @andrewm4894. I installed netdata with the netdata setup script using the command `bash <(curl -Ss https://my-netdata.io/kickstart.sh) --disable-telemetry`. Netdata is working. But when I run `SELECT user FROM mysql.user;` in mariadb, no "netdata" user appears. How is netdata working without a database user? What did the setup script do to make things work without using a netdata db user? – DanRan Jul 28 '23 at 19:46
  • Also when I run `SHOW DATABASES;' in mysql, I see no database for netdata. So apparently netdata is running without a database and database user. How is this possible? – DanRan Jul 28 '23 at 20:17
  • @DanRan you need to create a netdata user as per docs link i shared. – andrewm4894 Jul 31 '23 at 09:19