I am trying to create a Mysql database for a Symfony 5.1 application, with Doctrine. I use PHP 7.4.11 with extension=pdo_mysql activated in php.ini, and working fine in php info. Mysql 5.7.11. In .env, I have DATABASE_URL=mysql://root:[email protected]:3306/symerp?serverVersion=5.7 and in doctrine.yaml : dbal: driver: ‘pdo_mysql’ charset: utf8mb4 url: ‘%env(resolve:DATABASE_URL)%’ Now, when I want to create my ..
I’m learning Symfony, and i have this problem : When i try to make a php bin/console make:migration i have this return : An exception occurred in driver: could not find driver In Exception.php line 18: could not find driver In PDOConnection.php line 37: could not find driver I’m using internal server with server:run I’m ..
I know it is frequently asked question. But I reviewed and read all of it. Unfortunately I could not find a correct answer for my problem. I am using symfony. I followed the instruction and tutorial on https://symfony.com/doc/current/doctrine.html. all steps went perfectly. I run the following commands in terminal without any problem: composer require symfony/orm-pack ..