나는이 질문은 매우 유사하다 볼 수 있지만 내가 PDO와 PDO_PGSQL가Doctrine은 PostgreSQL PDO 드라이버를 찾을 수 없습니까?
를 설치 한 다음내 오류 메시지입니다 : 여기
php app/console doctrine:mapping:convert yml ./src/Vendor/Bundle/MyBundle/Resources/config/doctrine/metadata/orm --from-database --force
[PDOException]
could not find driver
doctrine:mapping:convert [--filter="..."] [--force] [--from-database] [--extend[="..."]] [--num-spaces[="..."]] [--namespace[="..."]] [--em[="..."]] to-type dest-path
내 config.yml 설정
입니다
doctrine:
dbal:
connections:
my_database:
driver: pdo_pgsql
port: 5432
dbname: blah
user: foo
password: bar
charset: UTF8
호스트는 내가 PDO, PDO_PGSQL 및 pgSQL의 모든 나는 무엇을 놓치고
PDO
pdo_pgsql
pgsql
설치되어있는 것을 볼 명령 행에서 php -m
실행이
doctrine:
dbal:
connections:
my_database:
host: localhost
같은 자극과 dev에 YAML 파일로 구성되어 있습니다?