I updated my Mamp Pro application to 6.2 and everything works well. My Symfony is running with the database, so everything is fine.
in the env file I am using this setting:
DATABASE_URL=mysql://root:root@localhost/mypage
Now the problem is, that in the console I want to make a migration, and this is not working anymore
php bin/console doctrine:migrations:diff
I get the error
An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory