your need put the DSN correct on youur config/databases.yml
On Wed, Jul 29, 2009 at 1:10 PM, Gábor Fási <[email protected]> wrote: > > Just specify the correct DSN and you should be fine. The pgsql dsn has > a different format than the mysql one, it looks like this: > pgsql:host=hostname;dbname=databasename;user=username;password=thepassword > > 2009/7/29 Guelmis Lázara Martínez Ramírez <[email protected]>: > > > > Hi: > > I have been trying to change the sfPropelPlugin to the sfDoctrinePlugin, > I have found many references on the web but they are headed to mysql, etc, > but I haven´t found anything for pgsql, so I need an example, a base, that > works. > > > > This is my ProjectConfiguration class > > > > class ProjectConfiguration extends sfProjectConfiguration > > { > > public function setup() > > { > > $this->enablePlugins('sfDoctrinePlugin'); > > $this->disablePlugins('sfPropelPlugin'); > > > > } > > } > > > > So Doctrine is already working, when I execute >>symfony list doctrine, > it works ok, but from there I don't know how to make it work with pgsql, so > please if anyone has an example of symfony 1.2.8, with Doctrine as ORM and > pgsql please send it to me, or please post it. > > > > Thanks ins advance, sorry if my english isn't perfect. > > > > -- > > > > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
