Ok, that's what I've done, now when I go to my Pi IP, I get the page asking for information to finish the installation (Great!)
I type in some admin user name and password. Then I select a MySQL database (I would like to use some advanced features). But there is something I don't undrrstand: should this database be created before the installation (then I would enter this database information) or will this assistant create a database (based on the information I provide here) ?
I confess I firstly considered the latter option, but got an error message: "SQLSTATE[HY000]  No such file or directory". If I have to create a database, could you please help me in doing so?
In the earlier versions, entering the root user and pass for mysql would allow nextcloud to create its own user and database, but the latest version has a bug and fails to do so. You need to create the user and database first, and then enter those into nextcloud wizard