@PIotr
Select all (that grants all) in that pick list.
You've kinda exposed too much about your DB setup. Next time make screen clips.
You might want to look over:
https://docs.moodle.org/403/en/MariaDB
That moodle@localhost shows 'hosts' ANY.
You don't need any DB's that allow other hosts other than localhost.
Using Webmin, you can schedule daily SQL dumps of all the DB's and direct those dumps to a directory on your server. Advise doing that.
I would, however, make db dumps just prior to updating core or updating any plugins you have installed in the moodle from command line.
bu script right inside moodle code:
# 4.1.9+ (Build: 20240326)'
tar -cvf /mnt/data/backup/mdlandcli/mdlandcli-code-419+-$(date +%Y%m%d%-H%M%S).tar ../mdlandcli;
tar -cvf /mnt/data/backup/mdlandcli/mdlandcli-data-min-419+-$(date +%Y%m%d%-H%M%S).tar /var/www/mdlandclidata/filedir /var/www/mdlandclidata/dkim;
mysqldump -u root -p'' mdlandcli > /mnt/data/backup/mdlandcli/mdlandcli-419+-db-$(date +%Y%m%d%-H%M%S).sql;
ls -l /mnt/data/backup/mdlandcli;
df -h;
du -h /mnt/data/backup/mdlandcli/
Adjust above to your setup when it comes to paths/where to save.
And another item suggested install ... MySQLtuner - a perl script.
Run with root privs.
Read the recommendations for fine tuning your DB server.
You also need to check the host DB ... you only need localhost.
'SoS', Ken
by Ken Task.