[symfony-users] Re: Connection to MS sql server

2010-09-15 Thread ziclo
Thank you all. Os : windows xp PHP : 5.2.9 Apache : 2.2.11 Symfony : 1.4.1 doctrine : ? I tried using pdo_mssql and others like dlib but still the same error : "driver not found" or something like this. It's amazing because with other web applications (not with symfony) i can use pdo_mssql driver

[symfony-users] Re: Connection to MS sql server

2010-09-14 Thread Daniel A.Tiecher
Hello, Could you give us a little more information about your setup? OS, PHP Version, etc. The only time I needed to create a symfony project that talked to a MSSQL instance I used pdo_mssql on Windows (dev machine) and pdo_dblib on the production server (Linux). I won't say it was an easy thing

Re: [symfony-users] Re: Connection to MS sql server

2010-09-10 Thread Gábor Fási
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.

[symfony-users] Re: Connection to MS sql server

2010-09-10 Thread ziclo
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

[symfony-users] Re: Connection to MS sql server

2010-09-09 Thread Damon Jones
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 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