Gitlab CI and CakePHP

I’m using CakePHP and want to benefit from CI using Gitlab. I have the config for .gitlab-ci.yml with this in config/app.php:

* The test connection is used during the test suite.
‘test’ => [
‘className’ => ‘Cake\Database\Connection’,
‘driver’ => ‘Cake\Database\Driver\Mysql’,
‘persistent’ => false,
‘host’ => env(‘MYSQL_HOST’, ‘localhost’),
//‘port’ => ‘non_standard_port_number’,
‘username’ => env(‘MYSQL_USER’, ‘root’),
‘password’ => env(‘MYSQL_ROOT_PASSWORD’, ‘mysql_strong_password’),
‘database’ => env(‘MYSQL_DATABASE’, ‘test’),
‘encoding’ => ‘utf8’,
‘timezone’ => ‘UTC’,
‘cacheMetadata’ => true,
‘quoteIdentifiers’ => false,
‘log’ => false,
//‘init’ => [‘SET GLOBAL innodb_stats_on_metadata = 0’],
//‘url’ => env(‘DATABASE_TEST_URL’, null),

But unfortunately, my tests are failing permanently.

.Exception: Unable to insert fixtures for "App\Test\TestCase\Controller\CategoriesControllerTest" test case. SQLSTATE[HY000] [2002] No such file or directory in [/builds/koffisani/gabways-web/vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureManager.php, line 358] ERROR: Job failed: exit code 1

I need a little help to progress.