Logging into PHPMYADMIN

shehlizah

New member
Joined
May 27, 2023
Messages
3
I have a directadmin panel inside my hosting website. Now there are domains and each domain has their own directadmin panel

I want to access phpmyadmin directly without need of adding credentials details and according to me its only possible if we log into directadmin first and then redirect to phpmyadmin. ( I dont have databases details because phpmyadmin credentials are auto generated/stored when we once login to directadmin)

This is one domain's clientpanel
1685207761766.png


How can I make this possible?

I am currently using curl post, before that I have tried form ,redirections, iframe etc.

PLEASE SOMEONE HELP!
ITS BEEN A WEEK I AM STUCKED
 
So you're an admin?
and according to me its only possible if we log into directadmin first and then redirect to phpmyadmin
Correct.

( I dont have databases details because phpmyadmin credentials are auto generated/stored when we once login to directadmin)
??? Phpmyadmin does not create any passwords. Admin passwords for phpmyadmin you can find for example in the /usr/local/directadmin/conf/my.cnf file. Directadmin creates admin passwords and account during setup.

For using the database, every database needs to create their own database credentials via the panel, not via phpmyadmin.
For your website, you need to create a database and dbase user and password first before you install the application or site which is making use of the database.

If you're an admin you can create auto login like this:

If you're a hosting customer, you should contact your host for support.
 
So you're an admin?

Correct.


??? Phpmyadmin does not create any passwords. Admin passwords for phpmyadmin you can find for example in the /usr/local/directadmin/conf/my.cnf file. Directadmin creates admin passwords and account during setup.

For using the database, every database needs to create their own database credentials via the panel, not via phpmyadmin.
For your website, you need to create a database and dbase user and password first before you install the application or site which is making use of the database.

If you're an admin you can create auto login like this:

If you're a hosting customer, you should contact your host for support.

I am logged in as a client. The client has only access to its own domains ( as shown in picture above).
Now I want to skip directadmin being show in view and only show PhpMyAdmin (once its logged in ).

My code is in PHP Codeigniter and I am not getting about the docs/link you sent here

I am trying to redirect it to the other domain which has all directadmin installed (For now I dont have its access). Attaching code

1685210464363.png


1685210491579.png


For some reason now curl request is also not working here But is there any other way we can skip to Phpmyadmin ?
 
That is not a DA issue. I don't do code, maybe somebody else can help you with this.
Only direct phpMyAdmin access is by default the link you already know, so https://domain.com/phpmyadmin unless the admin has changed public view to only internal use.
 
Back
Top