I’ve been trying to install without much success.
I’m on the graphical wizard and failing on database connect / admin user.
I’ve entered the correct details, but it keeps failing with
Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000]  Access denied for user 'oc_kachada'@'localhost' to database 'nextcloud'
I’ve created the database and tried without db. The database admin user has rights to create tables and users, and I can see an oc_kachada user created.
I tried granting all privs on the . to the newly created user but when I run the install again it creates a new user, oc_kachada1.
This is a fresh server install, and for what it’s worth MariaDB seems to have taken over MySql, I haven’t seen or used that before but from what I can tell root user has gone, at least for non-sudo. I had to create a new user which I can log in with and create tables, users, grant perms etc. This is the user I’m entering as the database user. I can also login and do admin using phpMyAdmin with this user.
MariaDB version is 10.1.23-MariaDB-9+deb9u1.
I’m kinda stuck at this point, not really sure where to look next or what to do so any direction appreciated!