phpMyAdmin - config - localhost - ungültige Servernummer -

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

phpMyAdmin - config - localhost - ungültige Servernummer -

Postby buzz.ruckz » 24. September 2008 21:23

Hallo,

folgendes kuriouses Problem bekomme ich nicht gelöst und frage mich, ob jemand hierfür eine Erklärung hat:

beim Start von von phpMyAdmin wird folgender Fehler ausgewiesen:
Ungültige Server-Nummer: "localhosu"

hier meine config.inc.php:

<?php
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */

/*
* Servers configuration
*/
$i = 'localhost';

/*
* First server
*/
$i++;

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'geheim';
$cfg['Servers'][$i]['extension'] = 'mysql';

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';

/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';

/*
* End of servers configuration
*/

?>

Ich habe daher einfach anstelle von "localhost" meine IP angegeben, welche lautet: 192.168.2.38 - - aber dann wird der Fehler ausgegeben:
Ungültige Server-Nummer: "192.168.2.37"

:roll: Ich habe keine Idee mehr... hat das schonmal jemand gehabt?
buzz.ruckz
 
Posts: 2
Joined: 24. September 2008 21:14

Postby Wiedmann » 24. September 2008 21:31

Code: Select all
$i = 'localhost';

Diese Zeile muss so aussehen:
Code: Select all
$i = 0;
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby buzz.ruckz » 25. September 2008 17:33

:shock:
Vielen Dank für den Hinweis!! Jetzt funktionierts!
:oops: :D
buzz.ruckz
 
Posts: 2
Joined: 24. September 2008 21:14

Re: phpMyAdmin - config - localhost - ungültige Servernummer -

Postby it-service.sb » 02. August 2009 15:54

hallo kann mir einer eine config datei für phpmyadmin zu senden

ich benutze php5.1.6 mysql5.0 phpadmin-2.11.9.5 auf windows server 2003 mit IIS 6


bekomme folgende fehlermeldung Ungültige Server-Nummer: ""
it-service.sb
 
Posts: 1
Joined: 02. August 2009 15:44

Re: phpMyAdmin - config - localhost - ungültige Servernummer -

Postby Wiedmann » 02. August 2009 16:40

hallo kann mir einer eine config datei für phpmyadmin zu senden

Im Download von phpMyAdmin ist eine drin unter dem Namen "config.sample.inc.php".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 9 guests