Development

#6329 (Error in database configuration in The Definitive Guide to Symfony)

You must first sign up to be able to contribute.

Ticket #6329 (closed documentation: invalid)

Opened 1 year ago

Last modified 9 months ago

Error in database configuration in The Definitive Guide to Symfony

Reported by: jimd Assigned to: fabien
Priority: minor Milestone:
Component: other Version: 1.2.4
Keywords: Cc:
Qualification: Unreviewed

Description

On page 135 in The Definitive Guide to Symfony, the commands to configure the database have an incorrect syntax. Should be:

symfony configure:database "dsn" username password

Also, on page 136, the params section in the contents of the sample databases.yml file incorrectly shows the results of using the correct command in that the dsn parameter is not included.

Change History

07/01/09 23:44:02 changed by hugo.hamon

  • status changed from new to closed.
  • resolution set to invalid.

The DSN is mandatory but username and password arguments can be omitted, symfony will provide default values for them (root for the login and nothing for the password).

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.