docker-compose exec --user root db /bin/bash
docker-compose exec --user root db mysql -u root -p
When prompted, enter password
as the password.
Username: root
Password: password
While inside the shell, run the following:
CREATE DATABASE mydatabase;