[Dbix-class] Can't get MSSQL connected
Peter Rabbitson
rabbit+dbic at rabbit.us
Fri Jan 28 22:18:06 GMT 2011
Alan Humphrey wrote:
> Not sure what your specific problem is, but here's what I use to connect to MSSQL via FreeTDS.
>
> In my app_name.yml file:
>
> connect_info:
> dsn: 'DBI:Sybase:server=myservername;database=mydatabasename
> user: username
> pass: password
>
DBD::Sybase in combination with FreeTDS is exceptionally horrible (no
placeholders/no prepared statements, and flaky transaction support).
Avoid if the DBD::ODBC alternative is available.
More information about the DBIx-Class
mailing list