Jestem zupelnie poczatkujacym uzytkownikiem domowego serwera w celach nauki.
Na WinXP zrobilem sobie serwer Apache z obsluga php, oraz MySQL z dostepem poprzez phpMyAdmin i na razie moim sukcesem jest to ze wszystko dziala

Moim problemem jest to ze dziala mi jedynie autentykacja typu "config" wraz z podaniem w config.inc.php nazyw uzytkownika i hasla, czyli np:
<?php $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'] = ''; // 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'] = 'config'; // Authentication method (config, http or cookie based)? $cfg['Servers'][$i]['user'] = 'root'; // MySQL user $cfg['Servers'][$i]['password'] = 'abcdef'; // MySQL password (only needed // with 'config' auth_type) ?>
Oczywiscie ta konfiguracja mnie nie interesuje bo wtedy kazdy ma bezposredni ma dostep do mojego MySQL wpisujac sobie w przegladarce adres http://moj_adres_ip/phpMyAdmin
Kiedy natomiast kiedy ustawiam autentykacje http:
<?php $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'] = ''; // 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'] = ''; // MySQL user $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed // with 'config' auth_type) ?>
Przy wpisaniu adresu http://moj_adres_ip/phpMyAdmin pojawia sie ladne okienko logowania, jednak kiedy w okienku wpisuje user: root, haslo: abcdef i wciskam enter, zamiast zalogowania - ponownie wyskakuje okienko logowania i tak w nieskonczonosc. Kiedy wciskam anuluj - komunikat brak dostepu.
Czy ktos moze mi napisac jak ustawic skonfigurowac uzytkownika do serwera MySQL oraz jak skonfigurowac config.inc.php zeby dzialala autentykacja http?
Tylko proszê nie odsy³ajcie mnie do dokumentacji mySQL i phpMyAdmina, czytalem wielokrotnie i nie moge zrozumiec jak to ustawic zeby dzialalo.