Fedora Linux Support Community & Resources Center
Old 18th November 2009, 04:29 PM
Posts: n/a
phpMyAdmin asking for username/password to load the page

I have installed phpMyAdmin on Fedora 11 using YUM, along with MySQL, PHP and Apache.

The web and database servers are operating fine.

However, when loading the web page http://localhost/phpMyAdmin/ a box appears asking for a username and password.

I have tried many combination's including the root with no success. What value does it want, or what setting is wrong.

In studying the file httpd.conf in somehow loads the file phpMyAdmin.conf

The httpd.con reads:
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

The phpMyAdmin.conf reads:
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

<Directory /usr/share/phpMyAdmin/>
   order deny,allow
   deny from all
   allow from
   allow from
   allow from ::1
The static IP address for this computer is

So the page loads with the following statement:
Wrong username/password. Access denied.
I've searched and searched for a solution to this and cannot find one. Any suggestions?

Thanks in advance,

Reply With Quote
Old 18th November 2009, 06:36 PM
SteveGYBE Offline
Registered User
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 682
Just a thought - it is asking for a MySQL user and password, not your Linux user and password. So what user do you supply when trying to run "mysql" from the command line? Although MySQL has a user called "root", it is not the same as your Linux "root" - it has its own user database.
Reply With Quote
Old 18th November 2009, 07:43 PM
Posts: n/a
I agree with what you are saying. At this point, I have not assigned a password to the root user in the database, only the Fedora root user has a password. I tried the username root and leaving the password blank, that failed to work.

I think the error is with Apache, and it's permission setting to view the web page.
Reply With Quote
Old 19th November 2009, 12:20 AM
BlueC Offline
Registered User
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 729
No it's not an apache, it is asking for your mysql username and password which if you haven't set them up yet then you NEED to.

Tip: run "mysql_secure_installation" from the shell. It will help set up your initial mysql users and remove the unsafe default users. Once done, you can login to phpmyadmin using the user created when you run that script.
Reply With Quote
Old 19th November 2009, 01:29 AM
Posts: n/a
Bingo! That was my error - all fixed - thank you very much! Problem solved.
Reply With Quote

load, page, phpmyadmin, username or password

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phpmyadmin errors on the setup page? [solved] asif2k Using Fedora 4 13th March 2009 04:58 PM
No username or password nijltjetweety Installation, Upgrades and Live Media 5 10th August 2008 02:23 PM
phpmyadmin page Not Found majdi Servers & Networking 9 12th February 2007 05:54 PM
php blank webmail/phpmyadmin page dyrome Servers & Networking 1 28th September 2005 10:41 AM

Current GMT-time: 23:25 (Thursday, 17-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat