Backup Fail - mysql login problem

NethServer Version: NethServer release 7.7.1908 (final)
Module: Backup

Hi when I make the backup on a NFS Drive I received this error messages.

Apr 9 20:13:23 qcs-nethserver esmith::event[2276]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [20.016452]
Apr 9 20:13:23 qcs-nethserver esmith::event[2276]: ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
Apr 9 20:13:23 qcs-nethserver esmith::event[2276]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables FAILED: 1 [0.330849]

Does anyone have any ideas how I can solve this problem?

Did you change your mysql root password?

If yes, please set it back to the one you find in /root/.my.cnf or /var/lib/nethserver/secrets/mysql.

Hi Markuz
Many thanks for your anwer.

can you give me the right way to change the root password ?

I found the password with cat /root/.my.cnf

Thanks a lot,

#stay@home

1 Like

Here is the solution for similar problem:

Other ways of (re)setting the mariadb root password:

Using phpmyadmin.

2 Likes