zend-frameworkdoctrineubuntu-9.04

Doctrine CLI :generate-models-db give me this error Couldn't locate driver named mysql


Here is my configuration:

Ubuntu 9.04
Apache 2
MySql
Php 5.3.3-0
Zend Framework 1.11.1
Doctrine 1.2

When I try to create my model from database with the doctrine CLI , I get this error Couldn't locate driver named mysql.

I Know My pdo_mysql is active in both php.ini file. What I Should do.

Thanks .


Solution

  • Does this blog post on the same problem help?

    They enable both

    extension=pdo.so
    extension=pdo_mysql.so
    

    for the CLI.