How to set one click auto-login for PhpMyAdmin in DirectAdmin panel

This article contains step by step on how to enable one click autoi-login for PhpMyAdmin option for DirectAdmin users with root access.

Go to root, 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