The best way to import SQL file on your database.
$ composer require javanile/mysql-import
$ ./vendor/bin/mysql-import database.sql
$ docker-compose up -d mysql
$ docker-compose run --rm composer install
$ docker-compose run --rm phpunit tests
$ docker-compose run --rm phpunit tests --filter ::testLoader
$ docker-compose run --rm phpunit tests --stop-on-failure
docker-compose run --rm php ./bin/mysql-import ./tests/fixtures/database.sql -psecret -utest --do-while