Unable to set password for MariaDb "root" user

Hello,Please anybody help me to solve this problem:-
Unable to set password for MariaDb “root” user

I haven’t come across such an error but could imagine you may be able to find a solution for this here

Did you run this…?

mysql_secure_installation

This may work…

mysqladmin -uroot password ‘YourNewPasswordGoesHere’