Facing error - 'driverClass' has to implement the Doctrine\DBAL\Driver interface

When I updated my Laminas/dbal package in Composer.json I started facing the following error:
The given ‘driverClass’ Doctrine\DBAL\Driver\PDOMySql\Driver has to implement the Doctrine\DBAL\Driver interface.

Any clues, what could be going wrong.

There is no package “Laminas/dbal”. Do you mean roave/psr-container-doctrine or DoctrineModule for Laminas?

My mistake, I mean doctrine/dbal. Further I resolved the issue, there was error in spellings - Doctrine\DBAL\Driver\PDOMySql\Driver should actually read - Doctrine\DBAL\Driver\PDOMySQL\Driver.