Solved

phpMyAdmin login page for CentOS

Posted on 2010-09-08
10
943 Views
Last Modified: 2013-12-06
In Ubuntu I have always had a login page where the user could log in and out of the phpMyAdmin console.

I am setting it up in CentOS, but do not see any way to get this same functionality.  Is there a way to set it up the same way?  Google has not produced anything helpful.
0
Comment
Question by:TacoFlavoredKisses
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 9

Expert Comment

by:khaledf
ID: 33631879
your question is not clear,
what is your current setup?
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33632204
Current setup is CentOS 5.5, latest apache, php, mysql, and phpmyadmin.

In Ubuntu server if you navigate to the page 1.2.3.4/phpmyadmin you would get a login webpage.  You could log in, and then when done click exit and be returned to the same page to log in as another user.

When I set this up in CentOS and go to 1.2.3.4/phpmyadmin it instead asks for a login from the browser popup, and does not use the login webpage as the other version does.  Also, clicking exit simply returns you to the same page, still logged in.  Closing the browser window is the only real way to log out with my current setup.

0
 
LVL 9

Expert Comment

by:khaledf
ID: 33632354
can you try to user another browser?
there are known session issues with phpmyadmin in some browsers
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33633026
I tried a few, but they all pop up a browser login instead of a phpmyadmin login page, such as this:

http://demo.phpmyadmin.net/STABLE/

0
 
LVL 3

Expert Comment

by:dr-evil
ID: 33670160
you should check config: /etc/httpd/conf.d/phpmyadmin.conf
this is apache config file about phpmyadmin.
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33683930
I have checked that file, but do not see what it would need to show the login page as opposed to the popup auth.
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33729563
Any other ideas or insight before this is closed?
0
 
LVL 3

Expert Comment

by:dr-evil
ID: 33729714
sorry.
Let's try one more time.
Plz show us a screenshot of password request, /etc/httpd/conf.d/phpmyadmin.conf and authorization type in phpmyadmin config.
0
 
LVL 7

Accepted Solution

by:
ziceva earned 500 total points
ID: 33734300
The solution is in the config.inc.php file ...
Look for the line:

$cfg['Servers'][0]['auth_type']='http'

You get the behavior you want by changing this to:

$cfg['Servers'][0]['auth_type']='cookie'

More details about the auth_types here: http://wiki.phpmyadmin.net/pma/auth_types 

0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33775960
how did i miss that.  thank you.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP mail() function not working... 8 32
Time Sync Best Practice 13 45
PHP function parameters defined 14 39
Converting PHP triple des decrypt to c# 9 63
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question