What's the error message? Did you try the "dblib" driver? Quote from the php manual:
The DSN prefix is sybase: if PDO_DBLIB was linked against the FreeTDS libraries, mssql: if PDO_DBLIB was linked against the Microsoft SQL Server libraries, or dblib: if linked against any other variety of DB-lib. On Fri, Sep 10, 2010 at 11:15, ziclo <[email protected]> wrote: > Effectively it's a mistake. The good code is below (the problem > remains the same) > all: > doctrine: > class: sfDoctrineDatabase > param: > dsn: mysql:host=localhost;dbname=tracker > username: rfghj > password: jkkhf > doctrine1: > class: sfDoctrineDatabase > param: > dsn: mssql:host=localhost;dbname=asadata > username: rdfgh > password: dfgjh > > > On 9 sep, 18:48, Damon Jones <[email protected]> wrote: >> You have a double-ell in the database.yml you've posted "dsn: >> mssqll:host=localhost;dbname=asadata" - is this what the actual file >> has in it? >> >> On Sep 9, 7:18 am, ziclo <[email protected]> wrote: >> >> > Hi everybody, >> >> > I'm trying to add a new database to my symfony project. One managed by >> > mysql and the other by MS SQL server. I get an error about mssql >> > driver when i rebuild all (schema, etc..)I do not know which driver to >> > use for MS SQL. Here is my database.yml >> >> > An idea ? >> >> > Symfony version : 1.4 >> > Here is my database.yml >> >> > all: >> > doctrine: >> > class: sfDoctrineDatabase >> > param: >> > dsn: mysql:host=localhost;dbname=tracker >> > username: rfghj >> > password: jkkhf >> > doctrine1: >> > class: sfDoctrineDatabase >> > param: >> > dsn: mssqll:host=localhost;dbname=asadata >> > username: rdfgh >> > password: dfgjh > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > 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 > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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
