Hi Edwin,

On Wed, Sep 18, 2002 at 07:46:16PM +0800, =?iso-8859-1?Q?Edwin_D. _Vi=F1as?= wrote:

> I am having trouble running the index.pl in /bin/cgi-bin.
> When viewed in the web, i have the following message:
> Software error:
> install_driver(mysql) failed: [Wed Sep 18 19:18:17 2002] index.pl: Can't locate 
>DBD/mysql.pm
> [...]
> 
> Im testing in a machine with the following specs:
> FreeBSD-4.4, Apache-1.3.26, PHP-4.2.1, Postgresql-7.1 with apache configure with a 
>--without-mysql coz
> i want to use postgresql. 
> 
> Is there something in the config file that i've missed? Is otrs been proven to run 
>using mysql?
> Please advise me if you know this thing.... Im new to otrs :-)

If you want to user postgresql, change the DatabaseDSN in Kernel/Config.pm
[...]
    # (The database DSN for PostgrSQL ==> more: "man DBD::Pg") 
    $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
[...]

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

And of course you have to install a few perl modules (like DBI, DBD::Pg, MIME::Tools) 
from
CPAN ("perl -MCPAN -e shell;"). 

If you need help with CPAN try http://www.cpan.org/ -=> FAQ. Or ask us. 

> Salamat Po!
> -Edwin
> [...] 
>    http://www.geocities.com/edwin_vinas

PS: Nice homepage! :)

  Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
nohl:  2:53pm  up 4 days,  7:30,  4 users,  load average: 0.13, 0.13, 0.04
_______________________________________________
OpenTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to