Page 1 of 1

phpMyAdmin - config - localhost - ungültige Servernummer -

PostPosted: 24. September 2008 21:23
by buzz.ruckz
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?

PostPosted: 24. September 2008 21:31
by Wiedmann
Code: Select all
$i = 'localhost';

Diese Zeile muss so aussehen:
Code: Select all
$i = 0;

PostPosted: 25. September 2008 17:33
by buzz.ruckz
:shock:
Vielen Dank für den Hinweis!! Jetzt funktionierts!
:oops: :D

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

PostPosted: 02. August 2009 15:54
by it-service.sb
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: ""

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

PostPosted: 02. August 2009 16:40
by Wiedmann
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".