This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » Symfony 2.0 » doctrine.dbal configuration not allowing customizable username
doctrine.dbal configuration not allowing customizable username [message #100041] Sat, 29 May 2010 21:37
awildeep  is currently offline awildeep
Messages: 105
Registered: May 2006
Location: Buffalo, NY
Senior Member
http://symfony-reloaded.org/quick-tour-part-4

Under the heading:
Accessing the Database

There is a section for configuring doctrine. This section is not allowing me to configure DB access with a user name that is not "Root".

As a work around I have created a postgres role named "root" in my development environment to test more.

Example of breaking code:
doctrine.dbal:
  driver:   PDOPgSql
  dbname:   test_symfony
  user:     test_symfony
  username: postgres
  password: my_password # or null if there is none


The error I get is when using this code is that the Role "root" does not exist. Tracing the Doctrine objects tells me Doctrine is receiving "root" as a username, not "test_symfony".

Previous Topic:Forms in Symfony
Next Topic:404 Not Found error on index_dev.php
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software