Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading