ich habe Apache, PHP, MySQL und phpMyAdmin nicht mit XAMPP sondern von Hand installiert und konfiguriert. Für Apache habe ich Listen = 8080 konfiguriert, weil Port 80 bereits belegt ist. Es sind keine virtuellen Hosts konfiguriert. Es läuft auch alles soweit, nur beim Einloggen in phpAdmin habe ich mit autth_type = 'http' Probleme. Es erscheint das Window zum Einloggen. Ich gebe den Benutzernamen und das Passwort für MySQL ein. phpMyAdmion zeigt anschließend wieder das Window zum Einloggen an. Und so geht das immer weiter. Wenn ich das Window schließe, zeigt phpMyAdmin folgenden Fehler an: "Falscher Benutzername/Passwort. Zugriff verweigert". Auf dem Einlogg-Window steht über den beiden Textboxen für die Eingabe von Benutzername und Passwort "http://localhost:8080 verlangt einen Benutzernamen und ein Passwort. Ausgabe der Website: "phpMyAdmin localhost"". Wenn ich jedoch auth_type = 'config' festlege und den Benutzernamen und das Passwort für MySQL durch $cfg['Servers'][$i]['user'] ="root'' und $cfg['Servers'][$i]['password'] ="drrainer'' vorgebe, dann ist alles bestens. Ich möchte aber autth_type = 'http' verwenden, weil es aus meiner Sicht einfach sicherer ist.
Betriebssystem: Window 7 Prof. 32 Bit
Apache: 2.2.17
PHP: 5.3.4
phpMyAdmin: 3.3.8.1
MySQL: 5.1
Hat jemand eine Idee?
Viele Grüße von Oderdeich aus Berlin.
Meine config.inc.php:
-------------------------
- Code: Select all
<?php
/* Your phpMyAdmin URL.
*
* Complete the variable below with the full URL ie
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*
* In most cases you can leave this variable empty, as the correct value
* will be detected automatically. However, we recommend that you do
* test to see that the auto-detection code works in your system. A good
* test is to browse a table, then edit a row and save it. There will be
* an error message if phpMyAdmin cannot auto-detect the correct value.
*
*/
$cfg['PmaAbsoluteUri'] = 'http://localhost:8080/phpMyAdmin/';
/*******************************************************************************
* Server(s) configuration
*
* The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
* $cfg['Servers'][0]. You can disable a server configuration entry by setting host
* to ''. If you want more than one server, just copy following section
* (including $i incrementation) several times. There is no need to define
* full server array, just define values you need to change.
*
*/
$cfg['Servers'] = array();
$i = 0;
/*
* First server
*/
$i++;
/*
* MySQL hostname or IP address
*
* @global string $cfg['Servers'][$i]['host']
*/
$cfg['Servers'][$i]['host'] = 'localhost';
/**
* Use SSL for connecting to MySQL server?
*
* @global boolean $cfg['Servers'][$i]['ssl']
*/
$cfg['Servers'][$i]['ssl'] = false;
/*
* How to connect to MySQL server ('tcp' or 'socket')
*
*/
$cfg['Servers'][$i]['connect_type'] = 'tcp';
/*
* MySQL user
*
*/
$cfg['Servers'][$i]['user'] = '';
/*
* MySQL password (only needed with 'config' auth_type)
*
*/
$cfg['Servers'][$i]['password'] ='';
/*
* Authentication method (valid choices: config, http, signon or cookie)
*
*/
$cfg['Servers'][$i]['auth_type'] = 'http';
/*
* End of servers configuration
*/
?>