doctrine:schema update does not work in phpstorm console
I am evaluating PHPStorm. I have enabled the Symfony2 commands within phpstorm on Mac. SOme commands work but doctrine:schema:update fails with:
stty: stdin isn't a terminal
[PDOException]
SQLSTATE[HY000] [2002] No such file or directory
[ErrorException]
Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /Users/luke/Sites/sf2-15/vendor/doctrine-dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 36
doctrine:schema:update [--complete] [--dump-sql] [--force] [--em[="..."]]
stty: stdin isn't a terminal
Process finished with exit code 255 at 09:12:44.
Execution time: 3,877 ms.
It works fine from the Standard Mac terminal
Please sign in to leave a comment.