Problem with GUI Nextcloud install

Did you set the password for MySQL during installation? Note MySQL user is: root

If not, this tutorial should work and help you resetting it. https://hosting.1und1.de/cloud-community/learn/database/mysqlmariadb/how-to-reset-the-mysqlmariadb-root-password-import-and-export-databases/

You don’t need to start and stop the services