Symfony 6 with Doctrine MYSQLI driver = unknown class

Viewed 18

I am trying to switch to mysqli driver because I would like to add ssl to my database connection and from doctrine documentation it does not seem possible to with pdo_mysql

in doctrine.yaml I change driver to mysqli and get error.

Attempted to load class "mysqli" from the global namespace. Did you forget a "use" statement?

do I need to install some special driver ? I can't find anything in docs

0 Answers
Related