btw, your database.yml looks good to me (but i never use odbc), so i don't know. (maybe the host fields is not necesary)
On 6/14/07, Luciano A. Andrade <[EMAIL PROTECTED]> wrote: > First you shuld try to connect directly (with php) to the obdc > database and see if work (you may need to load some extension look at > http://www.php.net/manual/en/ref.uodbc.php ) > Also you may take a look at the creole source (specialy > http://creole.phpdb.org/trac/browser/trunk/classes/creole/drivers/odbc/ODBCConnection.php > around line 90 to see what are the actualy parameters Creole gets). > > Also try to provide more detail about your particular error. > > On 6/13/07, Jorge Sánchez <[EMAIL PROTECTED]> wrote: > > > > Hi, I am trying to connect my webapp to an ODBC connection... I see > > that Creole supports that, so I guess I have to configure my > > database.yml file. > > > > I wanted to know what are the parameters that I have to enter... Right > > now I'm working on a MySql database, and my database.yml looks like: > > > > all: > > propel: > > class: sfPropelDatabase > > param: > > phptype: mysql > > host: localhost > > database: agripac > > username: root > > password: > > > > > > What should I put on database? the DSN of my database? My file now > > looks like this, and it doesnt work: > > > > all: > > propel: > > class: sfPropelDatabase > > param: > > phptype: odbc > > host: localhost > > database: dsnAgripac > > username: root > > password: > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---