Answer the question
In order to leave comments, you need to log in
Why doesn't Doctrine create the database?
Hello everyone
, I put it on my computer:
In AbstractMySQLDriver.php line 113:
An exception occurred in driver: SQLSTATE[HY000] [2002] , .. .
In PDOConnection.php line 50:
SQLSTATE[HY000] [2002] , .. .
In PDOConnection.php line 46:
SQLSTATE[HY000] [2002] , .. .
Answer the question
In order to leave comments, you need to log in
Understood the situation. It was necessary to install MySQL from the official Oracle website and register all accesses for it. Unlike PyCharm (Django), which stores all the configs and the database, in php you have to set everything manually.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question