Thread Catalyst ODBC model verbinden? (6 answers)
Opened by xcoder44 at 2009-04-28 22:31

renee
 2009-04-29 13:57
#121015 #121015
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
schon
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
package datenbank::Model::dDB;

use strict;
use base 'Catalyst::Model::DBI';

__PACKAGE__->config(
    dsn           => "DBI:ODBC:Driver={SQL Server};server={DSR5003};database={" . datenbank->config->{db}{db} . "}:",
    user          => datenbank->config->{db}{user},
    password      => datenbank->config->{db}{password},
    options       => {},
);

probiert?
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Catalyst ODBC model verbinden?