Just a guess, but maybe this is related to the authentication plugin for the database user "root". MySQL supports different authentication plugins and as far as I know the default authentication plugin for user "root" in Ubuntu 20.04 is "auth_socket". If this is the case, try to change it to "mysql_native_password" (and optionally set a password for the user).
↧