Gentoo Archives: gentoo-user

From: "Thomas T. Veldhouse" <veldy@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: phpmyadmin
Date: Thu, 16 Feb 2006 13:18:31
Message-Id: 43F479E7.7050302@veldy.net
In Reply to: [gentoo-user] OT: phpmyadmin by Ernie Schroder
1 Ernie Schroder wrote:
2
3 >I am just starting to play with php and mysql. I've got mysql working and can
4 >log into root accounts using a password. php scripts work on
5 >http://localhost. For example, http://localhost/php/index.php in a browser
6 >shows a whole lot of info re php, mysql and apache2. However, I can't seem to
7 >get phpmyadmin working.
8 >Going to http://localhost/phpmyadmin, gives me a window asking for username
9 >and password. If I insert my mysql username (root) and root's mysql password,
10 >I just get the same box with no error. I've tried adding a small
11 >config.inc.php file to /var/www/localhost/htdocs that is configured like so"
12 >
13 ><?php
14 >$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
15 >
16 >
17 Try 'http://127.0.0.1/phpmyadmin/
18
19 >$cfg['Servers'][$i]['host'] = 'MySQL.localhost';
20 >
21 >
22 '127.0.0.1'
23
24 >$cfg['Servers'][$i]['auth_type'] = 'config';
25 >
26 >
27 'cookie'
28
29 >$cfg['Servers'][$i]['user'] = 'root';
30 >$cfg['Servers'][$i]['password'] = 'password';
31 >
32 >
33 don't set the user and password
34
35 >$cfg['blowfish_secret'] = '1234';
36 >?>
37 >I restarted mysql and apache2 and still no joy
38 >Obviously, I'm missing something, but I can't find anything after many hours
39 >of searching that points me in the right direction. HELP ;>)
40 >
41 >
42 When prompted for username and password, you probably want to start with
43 a superuser that you created in MySQL.
44
45 Tom Veldhouse
46
47
48 --
49 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT: phpmyadmin Ernie Schroder <schroder@×××××.net>