Nextcloud installation problem on local for first time

Hi Everyone.
I’ve some problems when I try to install the new latest version to my local.
I’m using MySQL as a database and input all information, username, password, db username, password, host, and install to create admin account
but I got this error

Error
An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_users' doesn't exist

Create an admin account

Anyone can help me to fix this problem?
If someone can provide me with the correct database file, it would help me out

Hey, Alek!

Did you create the Nextcloud db prior to the installation of Nextcloud? After setting up MySQL (e. q. datadir) you have to call

sudo mysql -u root

Thus you enter the console of MySQL. To create the db call

CREATE DATABASE nextcloud;
CREATE USER 'dbAdmin'@'localhost' IDENTIFIED BY 'dbPwd’;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'dbAdmin'@'localhost';
FLUSH PRIVILEGES;

Now you can leave the MySQL console. Use nextcloud, dbAdmin and dbPwd for the Nextcloud setup.