diff --git a/tests/mutex/MutexConcurrencyTest.php b/tests/mutex/MutexConcurrencyTest.php index 716e1cf5..cf6a5c7b 100644 --- a/tests/mutex/MutexConcurrencyTest.php +++ b/tests/mutex/MutexConcurrencyTest.php @@ -325,7 +325,7 @@ static function (string $uri): \Redis { if (getenv('MYSQL_DSN')) { $cases['MySQLMutex'] = [static function ($timeout = 3): Mutex { var_dump([getenv('MYSQL_DSN'), getenv('MYSQL_USER'), getenv('MYSQL_USER')]); - $pdo = new \PDO(getenv('MYSQL_DSN'), getenv('MYSQL_USER'), getenv('MYSQL_USER')); + $pdo = new \PDO(getenv('MYSQL_DSN'), getenv('MYSQL_USER'), getenv('MYSQL_PASSWORD')); $pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); return new MySQLMutex($pdo, 'test', $timeout);