It sounds like your cli php configuration is different than your web/apache
php configuration. Make sure that PDO and the driver is present and loaded
for the php cli.
- Jon
On 10/29/07, Jonas Schnelli <[EMAIL PROTECTED]> wrote:
>
>
> stange...
> if i do:
> Doctrine::exportSchema("..../lib/model/doctrine");
> i got my datebase ready.
>
> if i do
> ./symfony doctrine-build-all if got still the same error:
> could not find driver
>
> bug?!
>
> On 29 Okt., 12:35, Jonas Schnelli <[EMAIL PROTECTED]> wrote:
> > yes.
> > PDO / MySQL Works.. i'm using MAMP.
> >
> > And i use Symfony1.0.8 with sfDoctrine 1 ... and still habe the same
> > problems.
> > if a create the tables with phpmyadmin... no problem.
> > creating Objects with $x = new XYZ(), and $x->save() works fine.
> > probably it's a ./symfony (peak) issue?
> >
> > On 29 Okt., 11:29, "Ian P. Christian" <[EMAIL PROTECTED]> wrote:
> >
> > > Jonas Schnelli wrote:
> > > > Hi
> >
> > > > I'm a little bit confused. The doctrine Wiki seems to be in update-
> > > > progress.
> > > > i've installed symfony-tag 1.0.8 and doctrine-trunk.
> > > > ./symfony doctrine-build-model works fine.
> > > > but when i use
> > > > ./symfony doctrine-insert-sql
> > > > i got a:
> > > > [sfException]
> > > > Couldn't locate driver named mysql
> >
> > > Do you have PDO/MySQL support?
> >
> > > --
> >
> > > Ian P. Christian ~ pookey.co.uk
>
>
> >
>
--
Jonathan Wage
http://www.jwage.com
http://www.centresource.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---