Hi there,

since today I am trying the new symfony version - and am migrating to
doctrine. But, unfortunately, it is not working as I expect it to..

I have 2 Databases, thus 2 connections:

all:
  client:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:host=localhost;dbname=client'
      username: root
      password:
  system:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:host=localhost;dbname=system'
      username: root
      password:


when generating my schema.yml (following):


Content:
  connection: client
  actAs: { Timestampable: ~ }
  columns:
    title:      { type: string(255) }
    name:       { type: string(255) }
    content:    { type: string(10000), notnull: true }
    meta_data:  { type: string(10000), notnull: true }


i get:

  Unknown connection: client:

what am I doing wrong?

--~--~---------~--~----~------------~-------~--~----~
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