If I try to login to mysql with mysql -u root -p
and enter the wrong password, then I get "access denied".
However, if I use sudo mysql -u root -p
and enter the wrong mysql password, then I get access.
Version: mysql Ver 15.1 Distrib 10.3.25-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2