After installing WAMP, I open PHPMYADMIN,
go to PRIVLEDGES, and then
edit the ROOT LOCALHOST user.
I provide a password. xxxxxxxx - in the Chage Password field.
PHPMYADMIN will not work after that... because you
just gave YOURSELF the "root@localhost" user a new
password to access PHPMYADMIN and all MYSQL databases.
I then go into \wamp\phpmyadmin folder
and edit config.inc.php - look for this line:
$cfg['Servers'][$i]['password'] = '';
add password in between quotes
$cfg['Servers'][$i]['password'] = 'xxxxxxxx';
Now you restart the WAMP server and PHPMYADMIN should work!
You have to use the same username/password in your PHP files
to access the MYSQL database or setup a new USER/PASSWORD
in PHPMYADMIN (with fewer privileges *recommended) and use that
in your PHP files that try to access a MYSQL database.
Greg
G. ARMENTO
----------------------------------------------------------------
Graphic Design - Multimedia - Illustration - Photography
website: [
www.forthosewhowait.com]
e-mail:
ggarmento@yahoo.com