1 |
This tutorial will help you, GUARANTEED 100% (and it is worth a |
2 |
bookmark). |
3 |
http://arcticalliance.se/pma.php |
4 |
|
5 |
-- |
6 |
#Joseph |
7 |
|
8 |
On Wed, 2006-02-15 at 22:30 -0500, Ernie Schroder wrote: |
9 |
> I am just starting to play with php and mysql. I've got mysql working and can |
10 |
> log into root accounts using a password. php scripts work on |
11 |
> http://localhost. For example, http://localhost/php/index.php in a browser |
12 |
> shows a whole lot of info re php, mysql and apache2. However, I can't seem to |
13 |
> get phpmyadmin working. |
14 |
> Going to http://localhost/phpmyadmin, gives me a window asking for username |
15 |
> and password. If I insert my mysql username (root) and root's mysql password, |
16 |
> I just get the same box with no error. I've tried adding a small |
17 |
> config.inc.php file to /var/www/localhost/htdocs that is configured like so" |
18 |
> |
19 |
> <?php |
20 |
> $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/'; |
21 |
> $cfg['Servers'][$i]['host'] = 'MySQL.localhost'; |
22 |
> $cfg['Servers'][$i]['auth_type'] = 'config'; |
23 |
> $cfg['Servers'][$i]['user'] = 'root'; |
24 |
> $cfg['Servers'][$i]['password'] = 'password'; |
25 |
> $cfg['blowfish_secret'] = '1234'; |
26 |
> ?> |
27 |
> I restarted mysql and apache2 and still no joy |
28 |
> Obviously, I'm missing something, but I can't find anything after many hours |
29 |
> of searching that points me in the right direction. HELP ;>) |
30 |
> |
31 |
> -- |
32 |
> Regards, Ernie |
33 |
|
34 |
-- |
35 |
gentoo-user@g.o mailing list |