Pergunta

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 .

Foi útil?

Solução

Does this blog post on the same problem help?

They enable both

extension=pdo.so
extension=pdo_mysql.so

for the CLI.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top