OTRS CVS - Handbuch
Prev | Chapter 13. Konfigurationsdatei | Next

# Datenbankeinstellungen

Example 13-8. Kernel/Config.pm - Datenbankeinstellungen

    [...]
        # DatabaseHost
        # (The database host.)
        $Self->{DatabaseHost} = 'localhost';

        # Database
        # (The database name.)
        $Self->{Database} = 'otrs';

        # DatabaseUser
        # (The database user.)
        $Self->{DatabaseUser} = 'otrs';

        # DatabasePw
        # (The password of database user.)
        $Self->{DatabasePw} = 'some-pass';

        # DatabaseDSN
        # (The database DSN for MySQL ==> more: "man DBD::mysql")
        $Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";

        # (The database DSN for PostgrSQL ==> more: "man DBD::Pg")
        #$Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
    [...]

Prev | Home | Next
Format der Ticket-Nummer | Up | ASP (Application Service Provider) Optionen