[solved] Error 1045: Access denied for user (using password = YES) Mariadb

Latest response

Hi guys,
Just sharing experience. If you're stuck with above problem, it might be due to not setting password while installing Mariadb.
Solution: root> mysql -u root -p
password: (just enter, no password).
Good luck!


root user can login to mysql without password and even work on databases, but the error is still coming continuously in logs about access denied for user.