Hallo Liste,

OTRS 1.3.2
DBI-1.48
DBD-mysql-2.9006

Will auf eine andere DB über einen SSH-Tunnel zugreifen.
telnet localhost 3307 -> meldet sich die mysql DB auf
dem Remote-Rechner.

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+
4.0.24-logú{Z2(nu$N,

Config.pm
<---- snip ------>
$Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self-
>{DatabaseHost};port=3307";
<----- snip ----->

-> geht nicht :-(

habe da mal mit strace gedebuged und siehe da, er verwendet den
port gar nicht sondern macht das über den lokalen mysql.sock :-(

in meiner /etc/my.cnf gibt es keine [client] section.

wenn ich das mit einem kleinen perl script teste

use DBI;
use DBD::mysql;
$dsn="DBI:mysql:database=otrs;host=localhost;port=3307";
my $dbh = DBI->connect($dsn,otrs,otrspwd);

DBI connect('database=otrs;host=localhost;port=3307','otrs',...) failed:
Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) at ....

google gibt nichts besonderes her :-(

Hat da jemand eine Idee ?

Danke.

Gruß Thomas









_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/

Antwort per Email an