![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 20.11.2008 Ostrzeżenie: (0%) ![]() ![]() |
mam taki problem kupiłem od kumpla jakiś tani serwer w którym nie ma zainstalowanej bazy msql ale chciałem sobie ją zainstalować wrzuciłem pliki i chciałem skonfigurować plik config.inc.php ale nie było go więc przerobiłem plik confing.sample.inc.php i wyszło na to że po 1 skonfigurowaniu
logowanie jest ale na żadne hasło i login nie moge się zalogować sprawcie czy dobrze uzupełniłem ten plik ale podczas logowania wyskakuje taki błąd #1045 - Access denied for user 'mój login podczas logowania'@'localhost' (using password: YES) <?php $cfg['blowfish_secret'] = 'xampp'; $i = 0; $i++; $cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based) $cfg['Servers'][$i]['user'] = 'login'; $cfg['Servers'][$i]['password'] = 'hasło'; $cfg['Servers'][$i]['extension'] = 'mysql'; $cfg['Servers'][$i]['controluser'] = ''; $cfg['Servers'][$i]['controlpass'] = ''; $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'; ?> a gdy tak uzupełnie moge wejść do bazy <?php $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['port'] = ''; $cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['extension'] = 'mysql'; $cfg['Servers'][$i]['compress'] = FALSE; $cfg['Servers'][$i]['controluser'] = ''login; $cfg['Servers'][$i]['controlpass'] = ''hasło; $cfg['Servers'][$i]['auth_type'] = 'confing'; $cfg['Servers'][$i]['user'] = 'login'; $cfg['Servers'][$i]['password'] = 'hasło'; ?> zaloguje się ale nie mogę utworzyć żadnej bazy i wyskakuje błąd Niewłaściwy numer serwera: "" co mam zrobić by zadziałało oryginalny plik confing.sample.inc.php wygląda tak <?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * 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>. * * @version $Id: config.sample.inc.php 10142 2007-03-20 10:32:13Z cybot_tm $ */ /* * 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; /* Select mysqli if your server has it */ $cfg['Servers'][$i]['extension'] = 'mysql'; /* User for advanced features */ // $cfg['Servers'][$i]['controluser'] = 'pma'; // $cfg['Servers'][$i]['controlpass'] = 'pmapass'; /* 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 */ /* * Directories for saving/loading files from server */ $cfg['UploadDir'] = ''; $cfg['SaveDir'] = ''; ?> Ten post edytował duch123 21.11.2008, 09:59:01 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 4.05.2025 - 11:40 |