Fedora Linux Support Community & Resources Center
  #1  
Old 18th November 2009, 03:29 PM
douglazb
Guest
 
Posts: n/a
linuxfedorafirefox
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:
Quote:
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

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

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

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

Thanks in advance,

Douglas
Reply With Quote
  #2  
Old 18th November 2009, 05:36 PM
SteveGYBE Offline
Registered User
 
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 338
windows_xp_2003firefox
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
  #3  
Old 18th November 2009, 06:43 PM
douglazb
Guest
 
Posts: n/a
linuxfedorafirefox
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
  #4  
Old 18th November 2009, 11:20 PM
BlueC Offline
Registered User
 
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 733
linuxfedorafirefox
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
  #5  
Old 19th November 2009, 12:29 AM
douglazb
Guest
 
Posts: n/a
linuxfedorafirefox
Bingo! That was my error - all fixed - thank you very much! Problem solved.
Reply With Quote
Reply

Tags
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 04:54 PM
php blank webmail/phpmyadmin page dyrome Servers & Networking 1 28th September 2005 10:41 AM


Current GMT-time: 21:09 (Friday, 18-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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