I followed the instructions to install Nextcloud manually. All worked fine untill the installation wizard. I also tried the command line installation but i get the same error.
Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000]  Access denied for user ‘oc_kpwn’@‘localhost’ (using password: YES)
I did make an extra admin user with a normal password for maria db. The user is granted all rights to everything. Logging in to SQL works fine with the Username and password. Yet the nextcloud installation wizards fails. I tried all the solutions (there are all more or less the same, create extra user with admin rights)
The only slightly “unusual” thing about my installation is that my datadir for Mariadb is not in the standard path. But like i said MariaDB itself works.