phpMyAdmin Access denied
Posted by: kast.eon (---.karneval.cz)
Date: January 10, 2009 12:24AM

Hi all, now I`ve instaled new Wamp 2.0f and when I try to connect to phpmyadmin (I`m using [127.0.0.1]) "Access denied" message appears?

Can someone help me?

p.s. when I had wamp 2.0c everything was ok....

Thanks
Kamil

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: Addy (---.direct-adsl.nl)
Date: January 10, 2009 08:54AM

Perhaps this can help you for the moment: [forum.wampserver.com]

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: crashnburn (114.143.38.---)
Date: January 13, 2009 06:46AM

Facing the same problem

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: January 13, 2009 08:46AM

phpmyadmin from outside the network? or from localhost?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: crashnburn (114.143.39.---)
Date: January 13, 2009 02:44PM

I'll try that too. I guess I am looking for wamp as a keyword in the Registry. Any other keywords that you might suggest?

PS: Which is the ONE 2.0 package that has no issues? I've tried everything from 2.0d > 2.0e > 2.0f > 2.0c


I just want to do simple Blog with Wordpress & maybe later Joomla. I do not want to spend too much time in the WAMP world.

It started with 2.0d which was giving some mysqld.exe error and since then I haven't had luck with even ONE of them.

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: seanwhite (121.214.170.---)
Date: January 13, 2009 11:39PM

***Solution***:

There is a syntax error in the file named "config.inc.php" located in C:\wamp\apps\phpmyadmin3.1.1.

Look for:

$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

(For me it is on line 22.)

and change it to:

$cfg['Servers'][$i]['AllowNoPasswordRoot'] = 'true';

The "true" is missing it's quotation marks so it returns as 'false'. Restart all the services and it will now allow you access.

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: THLopes (---.dsl.telesp.net.br)
Date: February 15, 2009 05:32PM

Hi Kast

Thanks for the tip!

Also worked for me in LAMP, Ubuntu 7.10, I was facing the same issue.

Regards,

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: VejOut (---.spcollege.edu)
Date: February 16, 2009 09:32PM

The problem is in the "C:\wamp\alis\phpmyadmin.conf" file.

The directory to phpmyadmin is not correct.

It was: Alias /phpmyadmin "C:/wamp/apps/phpmyadmin3.0.1.1/"

And I changed it to: Alias /phpmyadmin "C:/wamp/apps/phpmyadmin3.1.1/"

cuz there is no 3.0.1.1, it's 3.1.1

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: theosoft (---.sc.res.rr.com)
Date: February 19, 2009 01:01PM

I just upgraded wampserver to 2.0f today and ran into this same issue.

My phpmyadmin.conf file had the correct directory, so that wasn't the problem.

My config.inc.php in the PHPMyAdmin3.1.1 did not have the line with the allownorootpassword in it, so that wasn't the problem either.

I changed the directory for PHPMyAdmin in the phpmyadminconf to reference the old phpmyadmin for now and that seemed to work.

I will research the issue with the 3.1.1 folder further to see what the problem is with that folder.

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: lameei (---.98.182.182.parsonline.net)
Date: February 28, 2009 11:53AM

Hi
In my phpmyadmin.conf the alias was ok. And i could not find the $cfg['Servers'][$i]['AllowNoPasswordRoot'] = true; line there. I also changed the alias to point to the old one but the problem still remains there.

What i did was adding $cfg['Servers'][$i]['AllowNoPasswordRoot'] = 'true'; to the mentioned file. this seems to be the solution.



Edited 1 time(s). Last edit at 02/28/2009 11:59AM by lameei.

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: theosoft (---.sc.res.rr.com)
Date: February 28, 2009 12:25PM

lameei,

Adding that line to the config.inc.php file in the PHPMyAdmin3.1.1 folder did the trick. Of course, I just set mine to false.

I don't know why I didn't think of that before. That might be something the developer might want to think of adding so future people don't get stuck on that.

Options: ReplyQuote
Re: phpMyAdmin Access denied
Posted by: kae76 (---.cht-bng-014.adsl.virginmedia.net)
Date: January 22, 2010 06:43PM

hi lameei..

same prob, did as you specified.. sorted it thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.