Solved: XAMPP 1.7.3 phpMyAdmin kann nicht mysql connecten

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Solved: XAMPP 1.7.3 phpMyAdmin kann nicht mysql connecten

Postby dhaude » 12. August 2010 17:46

Hallo Community,

ich bin am verzwifeln und habe mir schon 'den Wolf' gesucht jedoch ohne Erfolg.

Mein Home Server - Windows Sever 2000 SP4 läuft nun schon viele Jahre ohne Probleme mit dem xampp 1.4.11

Ich wollte im Urlaub 'endlich' mal auf 1.7.3 umstellen und habe dies zuerst auf meiner 'normalen' Maschine (XP-Professional) geübt und es lief/läuft auch alles ohne Probleme.
Die Methode dabei war: xampp 1.7.3 zip File direkt auf c:\ entpackt und mit xampp-control gestartet. Ich konnte ohne Probleme alles Services starten - und auch der Aufruf http://localhost/phpmyadmin bringt mich direkt dort hin wie erwartet.

Nun das kuriose: Ich habe die services vom 'alten' XAMPP gestoppt und entfernt, dann den Folder umbenannt in 'old_xampp'
Dann xampp 1.7.3 zip File direkt auf c:\ entpackt und mit xampp-control gestartet. Ich konnte ohne Probleme alles Services starten und auch die Dantenbank Demos funktionieren (damit funzt wohl der php-Zugriff auf die Datenbank). Es geht wirklich alles bis auf phpmyadmin.

Wenn ich den Link http://localhost/phpmyadmin aufrufe, kommt folgendes:

Image

Auf meinem Bürorechner habe ich die Einstellungen:
Code: Select all
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type']            = 'http';
$cfg['Servers'][$i]['user']                 = 'root';
$cfg['Servers'][$i]['password']             = '';
$cfg['Servers'][$i]['AllowNoPassword']      = true;

/* Server parameters */
$cfg['Servers'][$i]['host']             = 'localhost';
$cfg['Servers'][$i]['connect_type']     = 'tcp';
$cfg['Servers'][$i]['compress']         = false;


dabei wird nach dem Aufruf user und password abgefragt. Nach Eingabe aber wieder obige Fehlermeldung.

Ich habe mit der config.inc.php alle erdenklichen Varianten durchgespielt - ohne Erfolg :cry:

Hat jemand einen Tipp für mich - ich weiss einfach nicht mehr weiter.

Gruss aus Wiesbaden

Dieter

Lesen bildet - habe eben in der phpMyAdmin Doku folgendes gefunden:
2.6 I get an "Access denied for user: 'root@localhost' (Using password: YES)"-error when trying to access a MySQL-Server on a host which is port-forwarded for my localhost.

When you are using a port on your localhost, which you redirect via port-forwarding to another host, MySQL is not resolving the localhost as expected.
Erik Wasser explains: The solution is: if your host is "localhost" MySQL (the command line tool mysql as well) always tries to use the socket connection for speeding up things. And that doesn't work in this configuration with port forwarding.
If you enter "127.0.0.1" as hostname, everything is right and MySQL uses the TCP connection.


Ich verstehe das nicht so ganz, aber wenn ich http://127.0.0.1/phpmyadmin geht es - das soll einer verstehen - kann mir das mal jemand gaaaz einfach erklären?
dhaude
 
Posts: 1
Joined: 12. August 2010 11:53

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 47 guests