LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2006, 03:45 PM   #1
candyman123
Member
 
Registered: Jul 2003
Posts: 46

Rep: Reputation: 15
can't login to phpmyadmin


I haven't used phpmyadmin in a while, and just recently upgraded.

I can still log into sql:

mysql -u root -p

I type in the password and everything is good. When I go to:

http://localhost/phpmyadmin

I get a prompt for a user name and password. I use the same username and password and it doesn't let me in.

Forgive me if I'm completely lost. How do I login to phpmyadmin?
 
Old 05-27-2006, 04:14 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Check the config file for phpmyadmin. It should be under your document root.
Something like
/var/www/localhost/phpmyadmin/config.inc
 
Old 05-27-2006, 08:18 PM   #3
sdexp
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Rep: Reputation: 15
You need to have a control user who can access the table User in database mysql.

You need to grant permissions to a new member you make under root to do this. A possible user is made under root with
Code:
mysql -u root -p
such as
Code:
GRANT ALL ON mysql.User TO phpmyadmin@localhost
IDENTIFIED BY 'phpmyadmin'
Please choose a better password.

Then, update the config.inc.php file as mentioned in the last post.

Now you can login.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the defult phpmyadmin login badgerbox76 Linux - Newbie 2 01-08-2006 02:36 PM
phpmyadmin: can not login quarry_06 Linux - Software 1 04-27-2005 10:37 AM
phpmyadmin login issues basq3 Linux - Software 10 04-21-2005 01:46 AM
phpmyadmin can't login vladimir@ares Linux - Software 2 12-31-2004 03:00 AM
phpMyAdmin login rejection as root ??? cdrobsonjr Linux - Software 2 12-01-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration