A little bit more detalization for correct answer by Nicolas Lykke Iversen:
Go to the terminal:
root@kali: mysql -u root -p
enter password 'toor'
MariaDB [(none)]> use mysql;
MariaDB[(mysql)]> create user 'user'@'localhost''username'@'localhost' identified by 'password';'my_password';
MariaDB[(mysql)]> grant all privileges on bWAPP.* to 'user'@'localhost''username'@'localhost' identified by 'password';'my_password';
Go to /var/www/html/bWAPP/admin/settings.php and set:
$db_username = "user";"username";
$db_password = "password";"my_password";
Then go to http://localhost/bWAPP/install.php and install it.
PS: username & my_password - you may use any words you like