Sudhakar: Hey man. Basically, your Mysql root user has a password set, but phpmyadmin isn't providing a password when it connects to the database. You need to edit phpmyadmin's config.inc.php file and put your password in there (if it auto logs in, which I suspect it is). Wamp should allow you to see or set the password somewhere. Might be a default in documentation?
Hope this helps. Michael: stop being such a prick! This is a mailing list that's here for help. You don't want to help someone then fine, but keep your mouth shut. It's no worse than a lot of the questions that you ask. Kind regards, --------------------------------------------------- Keri Henare (Views expressed are not necessarily those of my employer.) [e] [email protected] [m] (+64) 021 874 552 [w] kerihenare.com On 21/10/2009, at 11:24 AM, MatF wrote: > > if ($userName = 'Micheal') > { > echo header( 'http://groups.google.com/group/elitenzphpug/' ) ; > } > > Wow. I almost wrote that from scratch! Dang, I'm getting better at > this PHP thing ;p > > > On Oct 19, 11:03 am, Michael <[email protected]> wrote: >> On Mon, 19 Oct 2009 10:52:51 Sudhakar wrote: >> >>> i have installed wamp on my computer and when i access phpmyadmin i >>> get the following error >> >>> #1045 - Access denied for user 'root'@'localhost' (using password: >>> NO) >> >>> i already have xampp installed on my computer, i want to learn >>> smarty >>> templates so i am using wamp for the sake of learning smarty, i do >>> not >>> want to install smarty on xampp as it is already configured with >>> other >>> settings so i would like to use wamp >> >>> i am using windows xp service pack 2 >> >> It is a MySQL permissions issue. Go and set a root username and >> password for >> MySQL. >> >> It does sound though like you should be spending some time learning >> some >> fundamentals prior to attempting your project, as your question >> really does >> rate along with 'how do I turn my computer on'? > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
