Creating a new site returns error [1698 Access denied for user 'root'@'localhost']

I’ve completed all the installation/setups steps on Ubuntu 20.04. I’m at the point where I am creating a new site using the command “bench new-site test.test”, but this returns a MariaDB error.

pymysql.err.OperationalError: (1698, “Access denied for user ‘root’@‘localhost’”)

Getting same error on new site that was manually installed. Somehow the password is incorrect. Try this to set a new password if you had not set the password during installation.

1 Like

Thanks! I was able to resolve this error by reinstalling on Ubuntu 18.04. Initially, I had been working on Ubuntu 20.04.