Hi,
also eine genaue Anleitung eher jain
wenn du
http://localhost/xampp aufrufst, steht links im Frame "Sicherheitscheck" da kannst du drauf klicken und gucken, was bei dir noch unsicher bzw sicher ist. Unter dieser Tabelle steht ein Link, der nur von LOCALHOST aufgerufen werden kann und zwar dieser
=>
http://localhost/xampp/xamppsecurity.php
rufe den auf und dort legst du ein Passwort für "root" an und einen Account für XAMPP. Dann gehst du in /apachefriends/xampp/phpmyadmin rein und suchst die Datei config.inc, öffne die mit einem Editor oder einem PHP Editor und dort steht dann folgendes:
- Code: Select all
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = 'pma'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
Bei :
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method
muss UNBEDINGT 'http' eingetragen werden, da man sonst keinen Zugriff von phpmyadmin mehr hatt. Bei dieser Stelle:
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
trägst du das Passwort ein, was du am Anfang vergeben hast. gehe nun in phpmyadmin rein und melde dich als "root" an und vergebe dem User "pma" ein Passwort, dann gehst du wieder in die config.inc und änderst folgende Stelle:
- Code: Select all
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = 'pma'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
Dann gibst du hier bei = '' dein PW ein, was du dem User "pma" gegeben hast.
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
Viele grüße
BMF[/quote]
Irren ist menschlich. Aber um richtigen Mist zu bauen, braucht man einen Computer.