
Hallo Hermann, wahnsinn .... das geht, komisch ... Danke!!!! Gruß Thomas On Thu, 2005-04-21 at 10:16 +0200, Maurer, Hermann wrote:
Hallo Thomas,
anstelle von DBI connect('database=otrs;host=localhost;port=3307','otrs',...) probiere bitte folgendes: DBI connect('database=otrs;host=127.0.0.1;port=3307','otrs',...)
Gruß Hermann Maurer
-----Ursprüngliche Nachricht----- Von: otrs-de-bounces@otrs.org [mailto:otrs-de-bounces@otrs.org] Im Auftrag von Thomas Börnert Gesendet: Donnerstag, 21. April 2005 09:50 An: User questions and discussions about OTRS in German. Betreff: [otrs-de] Problem mit anderem Port mysqld
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: 'otrs@localhost' (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/
_______________________________________________ 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/