Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
phpMyAdmin - problem z haslem do mysql http://forum.freesco.pl/viewtopic.php?f=22&t=16478 |
Strona 1 z 1 |
Autor: | dybik [ czwartek, 24 stycznia 2008, 23:58 ] |
Tytuł: | phpMyAdmin - problem z haslem do mysql |
witam, mam problem z phpMyAdmin po nadaniu hasla do mysqla. Opisze cala procedure jaka wykonalem: pacman -S mysql - zaintalowalem mysqla /usr/bin/mysqladmin -u root password 'new-password' - wpisalem nowe haslo dla sprawdzenia czy haslo jest wlasciwie podane sprawdzilem : mysql -p haslo zalogowalo mnie do bazy mysql wiec wszystko jest ok pacman -S phpmyadmin - wrzucilem paczke phpmyadmin po czym w pliku konfiguracyjnym config.sample.inc.php ustawilem taka konfiguracje: /** * phpMyAdmin sample configuration, you can use it as base for * manual configuration. For easier setup you can use scripts/setup.php * * All directives are explained in Documentation.html and on phpMyAdmin * wiki <http://wiki.cihar.com>. */ /* * This is needed for cookie based authentication to encrypt password in * cookie */ $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ /* * Servers configuration */ $i = 0; /* * First server */ $i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'haslo'; /* Select mysqli if your server has it */ $cfg['Servers'][$i]['extension'] = 'mysql'; /* User for advanced features */ //$cfg['Servers'][$i]['controluser'] = 'root'; //$cfg['Servers'][$i]['controlpass'] = 'haslo'; $cfg['Servers'][$i]['only_db']; /* 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'; /* * End of servers configuration */ /* * Directories for saving/loading files from server */ $cfg['UploadDir'] = ''; $cfg['SaveDir'] = ''; I niestety wyskakuje blad: #1045 - Access denied for user 'root'@'localhost' (using password: NO) Gdy nie mam ustawionego hasla do mysqla panel phpmyadmina dziala bardzo dobrze. Prosze o pomoc. Pozdrawiam. [/code] |
Autor: | mazol [ sobota, 26 stycznia 2008, 12:47 ] |
Tytuł: | |
A nie lepiej ustawic autentykacje jako HTTP? dziala bez problemu ![]() z cookie nigdy nie probowalem ale przetestuje z ciekawosci... Co do twojego configa to nie wypelniles tego pola ![]() $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ |
Autor: | Kimas [ sobota, 26 stycznia 2008, 14:57 ] |
Tytuł: | |
może pomoże: http://forum.freesco.pl/viewtopic.php?t=15534#104973 |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |