This tutorial will help you, GUARANTEED 100% (and it is worth a
bookmark).
http://arcticalliance.se/pma.php

-- 
#Joseph

On Wed, 2006-02-15 at 22:30 -0500, Ernie Schroder wrote:
> I am just starting to play with php and mysql. I've got mysql working and can 
> log into root accounts using a password. php scripts work on 
> http://localhost. For example, http://localhost/php/index.php in a browser 
> shows a whole lot of info re php, mysql and apache2. However, I can't seem to 
> get phpmyadmin working.
> Going to http://localhost/phpmyadmin, gives me a window asking for username 
> and password. If I insert my mysql username (root) and root's mysql password, 
> I just get the same box with no error. I've tried adding a small 
> config.inc.php file to /var/www/localhost/htdocs that is configured like so"
> 
> <?php
> $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
> $cfg['Servers'][$i]['host'] = 'MySQL.localhost';
> $cfg['Servers'][$i]['auth_type'] = 'config'; 
> $cfg['Servers'][$i]['user'] = 'root'; 
> $cfg['Servers'][$i]['password'] = 'password'; 
> $cfg['blowfish_secret'] = '1234'; 
> ?> 
> I restarted mysql and apache2 and still no joy
> Obviously, I'm missing something, but I can't find anything after many hours 
> of searching that points me in the right direction. HELP ;>)
> 
> -- 
> Regards, Ernie

-- 
gentoo-user@gentoo.org mailing list

Reply via email to