OTRS 1.1 - Manual
Prev | Chapter 12. Config File | Next

# Database settings

Example 12-8. Kernel/Config.pm - Database settings

    [...]
        # 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
Ticket number format | Up | ASP (Application Service Provider) options