The command line php uses a different php.ini, locate it, and enable
both the pdo and the pdo_mysql extensions.

On Wed, Oct 14, 2009 at 14:16, cosmy <[email protected]> wrote:
>
> Hi all,
> I have a problem with console scripts.
> When i try to make  doctrine:insert-sql from my console (i'm under
> macosx) i receive this error:
> Couldn't locate driver named mysql
>
> ..And of course it's a matter also if i try to load data or build all.
> I could insert by myself the sql, but i want to make it work with the
> command line.
>
> I've tried exporting the correct path of the php executable, and it's
> the same of the apache one.. but it still doesn't work.
>
> Thank you in advance
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to