Unable to login to nextcloud for initial setup

I’m trying to set up nextcloud server on my Raspberry Pi via Raspbian OS and have been following this tutorial: https://raspberrytips.com/install-nextcloud-raspberry-pi/

I was able to reach the login page on my IP address but I can’t login now. I tried multiple different things but it keeps showing me incorrect username/password. I exactly remember the username ‘nextcloud’ is correct and the password I had set up is correct as well. However, it does not let me login with those credentials. Mysql log shows:

Version: '10.3.27-MariaDB-0+deb10u1'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Raspbian 10

2021-04-07 9:41:34 38 [Warning] Access denied for user ‘nextcloud’@’%’ to database ‘nextcloud’
2021-04-07 9:52:09 40 [Warning] Access denied for user ‘oc_admin’@‘localhost’
2021-04-07 9:53:41 41 [Warning] Access denied for user ‘nextcloud’@‘localhost’ (using password: YES)
2021-04-07 10:20:16 44 [Warning] Access denied for user ‘nextcloud’@’%’ to database ‘nextcloud’
2021-04-07 10:26:36 45 [Warning] Access denied for user ‘root’@‘localhost’
2021-04-07 10:26:42 46 [Warning] Access denied for user ‘root’@‘localhost’
2021-04-07 10:26:55 47 [Warning] Access denied for user ‘pi’@‘localhost’ (using password: NO)
2021-04-07 10:30:03 49 [Warning] Access denied for user ‘root’@‘localhost’

Querying the Database shows that ‘nextcloud’ does exist.
terminal

Here’s what login page shows:

I had the same problem and I download the image. and I will try this tomorrow.