I have this problem in my centos 7 and my database mariadb:
Access denied for user 'root'@'localhost' (using password: No)
when i try to run this program :
systemctl start slurmdbd
I already tried to use this solution but it doesn't work for me: Access denied for user 'root'@'localhost' (using password: Yes) after password reset LINUX
mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
mysql> flush privileges;
mysql> quit
I also tried to reconfigure mariadb with mysql_secure_installation and create 'root' user with 'root' password.
But it's not working. Is there another solution?