when accessing my local mysql 5.7 server as a non-root user i get an ERROR 1698 (28000): Access denied for user 'root'@'localhost' message after entering the password
connecting with sudo i can use any (or blank) passwords and always get a mysql prompt.
how do i need to configure mysql to be able to connect as a non root user
*edit: added question