Gentoo Archives: gentoo-user

From: Ernie Schroder <schroder@×××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] OT: phpmyadmin
Date: Thu, 16 Feb 2006 03:35:32
Message-Id: 200602152230.45762.schroder@ntplx.net
1 I am just starting to play with php and mysql. I've got mysql working and can
2 log into root accounts using a password. php scripts work on
3 http://localhost. For example, http://localhost/php/index.php in a browser
4 shows a whole lot of info re php, mysql and apache2. However, I can't seem to
5 get phpmyadmin working.
6 Going to http://localhost/phpmyadmin, gives me a window asking for username
7 and password. If I insert my mysql username (root) and root's mysql password,
8 I just get the same box with no error. I've tried adding a small
9 config.inc.php file to /var/www/localhost/htdocs that is configured like so"
10
11 <?php
12 $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
13 $cfg['Servers'][$i]['host'] = 'MySQL.localhost';
14 $cfg['Servers'][$i]['auth_type'] = 'config';
15 $cfg['Servers'][$i]['user'] = 'root';
16 $cfg['Servers'][$i]['password'] = 'password';
17 $cfg['blowfish_secret'] = '1234';
18 ?>
19 I restarted mysql and apache2 and still no joy
20 Obviously, I'm missing something, but I can't find anything after many hours
21 of searching that points me in the right direction. HELP ;>)
22
23 --
24 Regards, Ernie
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT: phpmyadmin Joseph <syscon@×××××××××.com>
Re: [gentoo-user] OT: phpmyadmin "Thomas T. Veldhouse" <veldy@×××××.net>