blog posts

DirectAdmin 配置phpmyadmin登陆

Until recently in DirectAdmin access to PHPMyAdmin required authentication. For this authentication is required a MySQL user with an associated password  (usually this information can be found in the website configuration file).

To facilitate the use of PHPMyAdminDirectAdmin developers have added a new feature – SingleSignOn, which allows the automatic login of an authenticated user in PHPMyAdmin with a single click from the DirectAdmin interface. This feature has been disabled by default since October 2019.

In order to enable one-click login for phpMyAdmin run the following commands in the SSH console as root user:

cd /usr/local/directadmin/
./directadmin set one_click_pma_login 1 restart
cd custombuild
./build update
./build phpmyadmin

The function can be found in the DirectAdmin user panel – User Dashboard → MySQL Management → Click “Login” on the same line with the desired database.

There is a PHPMyAdmin button at the top of the page that you can access to log in as a DirectAdmin user; this button allows you to manage all user databases in a single PHPMyAdmin interface.

Leave a Reply