Really weird one here which I need some help with.
Running latest mariadb on 22.03. I cannot login to mysql unless I use
mysql -u root -p
If I try without -p I get the dreaded
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
All users use the mysql_native_password plugin including root
The DBM itself is running fine - we've got Wordpress and other web based apps running perfectly. The issue is that none of our automated backup scripts work as they assume a password-less mysqldump command and i have no desire to have a script containing any password!
Any ideas how to fix? I'm stumped