phpmyadmin automatic login

Dirk Jan

Verified User
Joined
Aug 17, 2007
Messages
6
Hello,

In cpanel, when the user clicks on PMA, they does'nt have to login on PMA.

Is it posible to do this with DirectAdmin?
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,937
I believe cpanel runs PMA through cpanel (I may be wrong). DA doesn't do this, it runs PMA through apache, seperate from DA, which makes it more difficult to do. PMA uses http auth in the default DA install. "Back in the day" one could just enter: http://User:Pass@domain.com/phpMyAdmin to login to phpMyAdmin. But apart from being horribly insecure (you can see the password), I believe that new browsers dont allow it anymore.. so that kind of rules it out. If anyone knows of any other way, let us know.

John
 

chatwizrd

Verified User
Joined
Jul 3, 2005
Messages
2,007
Nothing wrong with requesting a login. It just makes it more secure.
 

abbk

New member
Joined
Aug 6, 2013
Messages
3
phpmyadmin automatic login (another sight)

I have another sight:
I can block MySQL port login from outside.
When I can login into phpmyadmin from directadmin directly, I can block phpmyadmin login from outside of directadmin and it improve my websites security.
A lot of websites use content management systems that save database username and password in an file (wordpress, joomla , ...) and sometimes hackers find a bog in some comopnents or modules that show database username and password (I read a new way this morning) a way to save a **** users security is block any way to connect database from outside of server.

If anyone has a way to auto login to phpmyadmin from inside of directadmin or solve my problem, please tell me.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,937
This feature is claimed to have been implemented in v. 1.59 - 9/2019: https://directadmin.com/versions.php?version=1.590000
But alas currently (at the time of writing) only partialy, because PHPMyAdmin icon in the main section of the DA does not work. You have to go into a sub-section called "MySQL Management ".
Checking in git, anything built after Oct 3rd will have the more direct SSO link to *all* databases under the User, if the higher level PMA icon/url is used.
If you click the per-domain URL, then you'd still just get the per-DB access.

So 1.59.2+ will get you a simpler all-db workflow for the SSO PMA logins for those given URLs.

John
 
Top