Category : driver

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 ..

Read more

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 ..

Read more