0
我剛剛建立了一個全新的Symfony 1.4項目並設計了模式,但不幸的是我無法構建模式。PHP Symfony Build All Propel Fails - MySQL
我在Symfony命令php symfony propel:build --all --no-confirmation
上遇到了一些麻煩。
不幸的是,它留下了一個相當神祕的錯誤消息php symfony propel:build --all --no-confirmation
有沒有人知道是什麼原因導致這個錯誤以及如何糾正它?谷歌發現一些波蘭網站(即使有翻譯),我不明白!
非常感謝!
完全錯誤:
>> schema putting /Applications/XAMPP/xamppfiles/htdocs/swingers/config/generated-schema.xml
>> propel Running "insert-sql" phing task
Execution of target "insert-sql" failed for the following reason: /Applications/XAMPP/xamppfiles/htdocs/swingers/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
[phing] /Applications/XAMPP/xamppfiles/htdocs/swingers/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
Some problems occurred when executing the task:
build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
If the exception message is not clear enough, read the output of the task for
more information
>> file- /Applications/XAMPP/xamppfiles/htdocs/swingers/config/generated-schema.xml
PezCuckowMBP:swingers pezcuckow$