Are u set auth_type to config? $cfg['Servers'][$i]['auth_type'] = 'config'; 2009/9/1 Ricky Tompu Breaky <ricky.breaky@xxxxxx>: > Dear Shawn. > > Firstly, thank you very much for your quick respond. > > I've installed the php-mysql: > " > [root@mandreev linux]# urpmi php-mysql > Package php-mysql-5.3.0-0.1mud2009.1.i586 is already installed > [root@mandreev linux]# > ". > > But I don't know if it's enabled already. How can I know that? > > Please keep telling me. > > Thank you very much in advance. > === > On Mon, 31 Aug 2009 15:27:30 -0500 > Shawn McKenzie <nospam@xxxxxxxxxxxxx> wrote: > >> Ricky Tompu Breaky wrote: >> > Dear my friends, >> > >> > I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva >> > 2009.1. >> > >> > I have defined in the file of >> > '/var/www/phpmyadmin/libraries/config.default.php' this things: >> > " >> > $cfg['Servers'][$i]['user'] = 'root'; >> > $cfg['Servers'][$i]['password'] = 'mypassword'; >> > ". >> > >> > I've done: >> > " >> > grant all on *.* to root identified by 'mypassword'; >> > ". >> > >> > But I still can not login to MySQL from the PHPMyAdmin with root >> > account. >> > >> > If I try login with MySQL-Query-Browser with 'root' and >> > 'mypassword', Im logged-in very properly. >> > >> > What is my mistake actually? >> > >> > Does PHPMyAdmin need to make session on the Apache2? Is it related >> > to "session" and what I should define in '/etc/php.ini'? >> > >> > Please tell me my mistake. >> > >> > Thank you very much in advance. >> >> Have you installed and enabled the php-mysql extension? >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php