dongzhazhuo0572 2015-11-27 07:56
浏览 47
已采纳

更新数据库时Symfony-2.7和oracle11g异常

I have a Symfony 2.7 project mapped to an oracle 11g database, as I think every config is ok(cause I'v already test it with pgsql and mysql db and there's no problem):

In php.ini extensions, dll when I try : doctrine:schema:update --dump-sql command, I get this exception that I can't resolve since:

Unknown database type mgmt_coll_queue_obj requested, Doctrine\DBAL\Platforms\OraclePlatform may not support it

the commande exception screenshot

Please help me to figure out cause I tried everything possible: wamp, xaamp, IIS, changing my php version but the error still remain.

  • 写回答

1条回答 默认 最新

  • dsxcv5652 2015-12-01 05:46
    关注

    I've finally found myself the solution... When I configured the parameters.yml file ( database connection ) I've use the sysman account but it seems to be forbidden to use it(that's why the exception occur as I think), to figure out, just use another account(you should create it first and grant ADMIN privileges). It's running perfectly now!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?