Posted by:
TheDragon
(---.dhcp.sprint-hsd.net)
yes - I read all the posts here
most gave different instructions
scenario:
try to access from tray icon:
apache local host = works great
myphpadmin = got opening error MSG
researched FAQ at wampserver.com
[
www.en.wampserver.com]
followed these instructions:
******************************
We are now going to modify the 'root' user's password on host localhost. Click on the link "Edit" which is near to this user.
On this news page, you will see a "change password" zone.Fil in this zone and click on "Go".
Your password has just been modified. The rights in MySQL are loaded on startup so our modifications shouldn't be effective until we reboot our MySQL server or execute the "flush privileges" command. Actually, phpmyadmin should do that for you so privileges should be reloaded and you shouldn't be able to use phpmyadmin for the moment (phpmyadmin uses a root user with no password) :
Error
MySQL said:
#1045 - Access denied for user: 'root@localhost' (Using password: NO)
If not, just restart your MySQL server.
We are now going to change phpmyadmin configuration to reflect our changes. Open the config.inc.php file which is located in the phpmyadmin directory.
First, replace this line :
$cfg['PmaAbsoluteUri'] = '';
by
$cfg['PmaAbsoluteUri'] = 'localhost/phpmyadmin/';
This is to make disappear one of the error messages on phpmyadmin homepage.
Now you just need to add your new password :
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'your new password'; // MySQL password (only needed with 'config' auth_type)
Save your file and it's done...++
*******************************************
2 points - I never got any line in the web page to edit
and - does this matter? -->
in the config.inc.php files it states in the beginning:
/* !!! DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!! */
huh???????????????????????
so, as I WAS editing the correct file anyway
I STTTTTTTTTTTTTTTill get a login error message ! ! ! !