Development

#3323 (propel-load-data returns: 'No connection params set for propel')

You must first sign up to be able to contribute.

Ticket #3323 (closed defect: worksforme)

Opened 9 months ago

Last modified 5 months ago

propel-load-data returns: 'No connection params set for propel'

Reported by: carsten Assigned to: fabien
Priority: major Milestone:
Component: tasks Version: 1.0.12
Keywords: Cc:
Qualification: Unreviewed

Description

Maybe I just don't get this. The documentation says propel-load-data needs an application to find the database.yml file. But the database.yml is in the main config directory, not the app/foo/config directory. Any way, others are having the same problem: http://www.symfony-project.org/forum/index.php/t/7832/

Another related ticket is #1258

Version is 1.0.13

Change History

04/16/08 00:35:20 changed by Carl.Vondrick

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

Seems to work for me. Please be sure you enter correct database information into both databases.yml and propel.ini, clear your cache, and try again.

04/17/08 03:29:23 changed by carsten

The database.yml *must* have a popel: database. My project uses multiple databases, but none of them called propel.

06/05/08 11:06:57 changed by Calimero

had the very same problem and took me a while to figure out the solution.

I'm just wondering why this particular propel-* command uses db settings from databases.yml and not from propel.ini. Is there any good reason for that ?

07/30/08 17:27:39 changed by nicolas

(In [10512]) [1.1] fixed "No connection params set for propel" PropelException thrown in Propel command line tasks under certain circumstances (refs #3323, #2702, #1915)

07/30/08 17:28:20 changed by nicolas

(In [10513]) [1.2] backport of r10512 - fixed "No connection params set for propel" PropelException thrown in Propel command line tasks under certain circumstances (refs #3323, #2702, #1915)