Problem with terminal while doctrine:create:database

I’ve got a problem with doctrine.
I’ve configured well my .env file, like that:

DATABASE_URL="mysql://root:root@127.0.0.1:8888/tuto"

and then in the console I put:

symfony console doctrine:database:create

but then it does not display anything, the console loads and that’s it

Can anyone helps me ? thanks in advance guys 🙂

>Solution :

DATABASE_URL="mysql://root:root@127.0.0.1:8888/tuto?serverVersion=8.0&charset=utf8mb4"

This is a right syntax i think, put your serverVersion and charset

Leave a Reply