How To Enable Auto-Login for PHPMyAdmin Via DirectAdmin?
Proper management of your website’s databases is the key factor that allows stable operations. PHPMyAdmin, which is a database management tool that has gained popularity today, does the job for you. The autologin feature on PHPMyAdmin through DirectAdmin speeds up the login process, thus saving precious minutes while also avoiding extra efforts to login.
DirectAdmin PHPMyAdmin auto-login allows the users to effortlessly log in to the PHPMyAdmin.
Benefits of Auto-Login for PHPMyAdmin
Enabling auto-login for PHPMyAdmin using DirectAdmin server offers several advantages:
-
Time-Saving: Eliminates the need to manually enter login credentials every time.
-
Convenience: Streamlines the login process. Thus providing a seamless experience for managing your databases.
-
Enhanced Security: Despite automatically logging you in, this feature maintains security by ensuring that access is restricted to authorized users only.
Steps to Enable One-Click Login for PhpMyAdmin from DirectAdmin
To enable the one-click login for PhpMyAdmin in the DirectAdmin interface, follow these steps.
Step 1: Login to server using SSH/Putty
Step 2: Log in to the DirectAdmin server as a root user.
Then, Switch to the ‘directadmin’ directory by executing the following command.
# cd /usr/local/directadmin/
Run the following command to enable the one-click login for PHPMyAdmin.
# ./directadmin set one_click_pma_login 1
After that, restart the DirectAdmin service by using the following command.
# service directadmin restart
Then, switch to the ‘custombuild’ directory.
# cd custombuild
After that, execute the following command to update the build.
# ./build update
Finally, Run the following command to make all the changes reflect in the DirectAdmin panel.
# ./build phpmyadmin
After enabling the one-click login feature of PhpMyAdmin, you can log in to the PhpMyAdmin from DirectAdmin panel without entering the login credentials as such of cPanel. To test, follow these steps:
Test the Auto-Login for PHPMyAdmin in DirectAdmin
- Log in to your DirectAdmin panel.

- Click on MySQL Management in the Account Manager section

- Navigate to phpMyAdmin via the DirectAdmin interface.

- You should be Auto-Login for PHPMyAdmin in DirectAdmin without the need to enter your credentials.