I have an interseting problem. I try to access my mysql server as root (also not wirking with debain-sys-maint) unsing
sudo mysql -u root -p
I reinstalled complete server (purged all).
sudo mysql_secure_installation
worked once after reinstall. and then
sudo mysql
worked. But after reset auth to native password I still get this error:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
regardless what i am doing, there is no login to mysql possible. Any ideas to solve that?