Kann Config nicht lesen

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

Kann Config nicht lesen

Postby Chibi » 13. February 2009 22:51

Hallo,

ich wollte mein passwort für myphp ändern, also das Rootpasswort, aber wenn ich die Config öffne - mit dem Texteditor - sehe ich nur ein Buschtabengewusel. Woran liegt das?
Chibi
 
Posts: 1
Joined: 13. February 2009 22:49

Re: Kann Config nicht lesen

Postby ghost-busters.de » 14. February 2009 00:36

Ich nehme an, das du erstens die config.in.php in myphpadmin und das du Notepad.exe unter Windows meinst. Das kann mit der vorhandenen Formatierung nicht umgehen.
Installiere dir ein Webeditor, der mit *.php Dateien umgehen kann und dann sollte es klappen.

Der Einfachheit halber hier eine Originaldatei:

Code: Select all
<?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 = 0;

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

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';

$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

/* 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
 */

?>



Mach deine config auf, lösche darin alles, kopier von hier den gesamten Code, trage dein Passwort ein, speicher ab und fertig.
Dunkel die eine Seite ist, sehr dunkel... Halts Maul Yoda und friss deinen Toast!
ghost-busters.de
 
Posts: 14
Joined: 13. February 2009 23:58
Location: Berlin


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 47 guests