Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

problem sa ulaskom na maticnu stranu Welcome to phpMyAdmin 2.11.1

[es] :: Web aplikacije :: problem sa ulaskom na maticnu stranu Welcome to phpMyAdmin 2.11.1

[ Pregleda: 1974 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

gogi100
Goran Ljubic

Član broj: 40722
Poruke: 1064
195.252.72.*



+3 Profil

icon problem sa ulaskom na maticnu stranu Welcome to phpMyAdmin 2.11.129.09.2007. u 13:17 - pre 202 meseci
Na lokalnoj masini sam instalirao apache 2.2.4 PHP 5.0 mysql 5 i pokusavam da postavim i phpmysql 2.11.1 ali mi nikako ne ide. Citao sam uputstvo za postavljanje phpmyadmin gde treba promeniti config.inc.php. sto sam ja i ucinio. Evo kako izgleda moj config.inc.php:
<?php

/* $Id: config.sample.inc.php 9675 2006-11-03 09:06:06Z nijel $ */
// vim: 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>.
*/

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

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'moj password'; // Your MySQL Password


/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* 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'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'mojpassword'; // Your MySQL Password
/* 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'] = '';

?>
Dakle ja sam ubacio password sa kojim se logujem kad startujem mysql command line client. Medjutim bez uspeha jer kad god u web browseru ubacim http://localhost/phpmyadmin/index.php ja dobijem:

Welcome to phpMyAdmin 2.11.1

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
Error

MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

Izgleda da nije problem u ovom config.inc.php nego treba editovati jos neki conf fajl ali koji.
Molim za pomoc
Hvala
 
Odgovor na temu

brainbuger

Član broj: 9647
Poruke: 440
80.93.236.*



+52 Profil

icon Re: problem sa ulaskom na maticnu stranu Welcome to phpMyAdmin 2.11.129.09.2007. u 14:28 - pre 202 meseci
Probaj sa http metodom autorizacije :
Code:
$cfg['Servers'][$i]['auth_type'] = 'http';
meni uvek radi bez problema, a i mnogo je bezbedniji jer je pass u bazi i definisan na nivou korisnika, umesto da bude zapisan u config fajlu. Razlika je i u tome što će ti iskakati prozor da uneseš user/pass, i samim tim imaš mogućnost da definišeš više korisnika koji imaju različite privilegije nad bazama. Imaš u PMA dokumentaciji kako da ga podesiš.
 
Odgovor na temu

gogi100
Goran Ljubic

Član broj: 40722
Poruke: 1064
195.252.72.*



+3 Profil

icon Re: problem sa ulaskom na maticnu stranu Welcome to phpMyAdmin 2.11.129.09.2007. u 16:43 - pre 202 meseci
ipak sam mislim nasao jednostavnije resenje. Ne znam zbog cega se ovo desava phpmysqladmin vuce konfigurciju iz fajla phpmyadmin\libraries\config.default.php. Tu je bilo potrebno ubaciti pass i sve mi je profunkcionisalo.
Ipak hvala
 
Odgovor na temu

[es] :: Web aplikacije :: problem sa ulaskom na maticnu stranu Welcome to phpMyAdmin 2.11.1

[ Pregleda: 1974 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.