{"id":9230,"date":"2025-11-27T20:03:03","date_gmt":"2025-11-27T14:33:03","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?post_type=manual_kb&#038;p=9230"},"modified":"2025-11-27T20:03:34","modified_gmt":"2025-11-27T14:33:34","slug":"how-to-enable-one-click-login-for-phpmyadmin-and-roundcube","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/how-to-enable-one-click-login-for-phpmyadmin-and-roundcube","title":{"rendered":"How to Enable One Click Login for PhpMyAdmin and RoundCube Auto-Login in DirectAdmin"},"content":{"rendered":"\n<p>In this article, we will learn how to enable one click login for PHPMyAdmin and RoundCube, an essential feature of the DirectAdmin control panel.<\/p>\n\n\n\n<p>In the DirectAdmin control panel, the PhpMyAdmin and RoundCube require login details whenever you have to log in to your webmail or PHPMyAdmin. In cPanel, the one-click feature interface helps the user to log into the PhpMyAdmin and RoundCube automatically.<\/p>\n\n\n\n<p>When Cpanel users migrate to DirectAdmin, they get confused and sometimes irritated with the DirectAdmin asking for the credentials for the PhpMyAdmin and RoundCube because to log into PhpMyAdmin, they have to input the database user name and password or control panel user name &amp; password. In the case of RoundCube, they need to input the user\u2019s email address and password for login.<\/p>\n\n\n\n<p>So to get rid of the login credentials problem, the SingleSignOn feature of the DirectAdmin can help the user automatically log into the PhpMyAdmin and RoundCube with a single click via the DirectAdmin interface.<\/p>\n\n\n\n<p>So let\u2019s see how to enable the one click login for PhpMyAdmin and RoundCube from the DirectAdmin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"enable-one-click-login-for-phpmyadmin-from-directadmin-panel\"><strong>Enable One Click Login for PhpMyAdmin from DirectAdmin panel<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to the DirectAdmin server as a root user using SSH<\/li>\n\n\n\n<li>Go to the \u2018DirectAdmin directory by using the following command.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ cd \/usr\/local\/directadmin\/\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Use the following command to enable the one-click login for PHPMyAdmin.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/directadmin set one_click_pma_login 1\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Restart the DirectAdmin service.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ service directadmin restart\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the \u2018custombuild\u2019 directory.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ cd custombuild\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Update the build using the following command<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/build update\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Run the following command to make all the changes reflected in the DirectAdmin panel.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/build phpmyadmin\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to DirectAdmin (https:\/\/yourdomain.com:2222).<\/li>\n\n\n\n<li>Navigate to the \u2018Account Manager\u2019 option and select the \u2018MYSQL Management\u2019.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"939\" height=\"407\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/11\/1.jpg\" alt=\"\" class=\"wp-image-4404\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/1.jpg 939w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/1-768x333.jpg 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/1-810x351.jpg 810w\" sizes=\"auto, (max-width: 939px) 100vw, 939px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose the database name from the list to which you want to log in and click the \u2018+\u2019 icon given on the right side in front of your database name and select Login to PHPMyAdmin without any login credentials.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"470\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/11\/2-1.jpg\" alt=\"\" class=\"wp-image-4405\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/2-1.jpg 1348w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/2-1-768x268.jpg 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/2-1-810x282.jpg 810w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/2-1-1140x397.jpg 1140w\" sizes=\"auto, (max-width: 1348px) 100vw, 1348px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Alternatively, you can click the \u2018PHPMyAdmin\u2019 button after selecting the database for which you want to login to the PhpMyAdmin without entering the login credentials.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1338\" height=\"473\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/11\/3-1.jpg\" alt=\"\" class=\"wp-image-4406\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/3-1.jpg 1338w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/3-1-768x271.jpg 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/3-1-810x286.jpg 810w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/3-1-1140x403.jpg 1140w\" sizes=\"auto, (max-width: 1338px) 100vw, 1338px\" \/><\/figure>\n\n\n\n<p><br>After enabling the one-click login feature of PhpMyAdmin, you can log in to the PhpMyAdmin from the DirectAdmin panel without entering the login details just like you were doing in cPanel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"steps-to-enable-one-click-login-for-roundcube-from-directadmin\"><strong>Steps to Enable One-Click Login for RoundCube from DirectAdmin<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to the DirectAdmin server as a root user.<\/li>\n\n\n\n<li>Switch to the \u2018DirectAdmin directory by using the following command.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ cd \/usr\/local\/directadmin\/\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Enable the one-click Webmail login by executing the following command.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/directadmin set one_click_webmail_login 1\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Restart the DirectAdmin service.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ service directadmin restart\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Switch to the \u2018custombuild\u2019 directory.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ cd custombuild\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Run the following command to update the build script.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/build update\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Update changes to the dovecot configuration.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/build dovecot_conf\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Execute the following command to update the changes to the EXIM configuration file.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/build exim_conf\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Update RoundCube by executing the following command.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ .\/build roundcube\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>After executing the above commands, follow the below-given steps to avail of the Single SignOn feature for RoundCube.<\/li>\n\n\n\n<li>Log in to the DirectAdmin control panel.<\/li>\n\n\n\n<li>Navigate to \u2018Email Manager\u2019 and click the \u2018Email Accounts\u2019 option.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"388\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/11\/4..jpg\" alt=\"\" class=\"wp-image-4407\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/4..jpg 979w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/4.-768x304.jpg 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/4.-810x321.jpg 810w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the email account then, click the login symbol at the right of the email id.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"466\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/11\/5-2.jpg\" alt=\"\" class=\"wp-image-4408\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/5-2.jpg 1348w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/5-2-768x265.jpg 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/5-2-810x280.jpg 810w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/5-2-1140x394.jpg 1140w\" sizes=\"auto, (max-width: 1348px) 100vw, 1348px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You will be redirected to your webmail without any login credentials.<\/li>\n<\/ul>\n\n\n\n<p><strong>You may also like<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/youstable.com\/blog\/how-to-change-link-color-in-wordpress\/\" target=\"_blank\" rel=\"noopener\"><strong>How to change link colour in WordPress?<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/youstable.com\/blog\/display-breadcrumb-navigation-links-in-wordpress\/\" target=\"_blank\" rel=\"noopener\">How to Display Breadcrumb Navigation Links in WordPress?<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/youstable.com\/blog\/how-to-add-expires-headers\/\" target=\"_blank\" rel=\"noopener\">How to Add Expires Headers To Your WordPress Website?<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/youstable.com\/blog\/how-to-remove-wordpress-version\/\" target=\"_blank\" rel=\"noopener\">How to Remove WordPress Version Number?<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/youstable.com\/blog\/how-to-change-background-color\/\" target=\"_blank\" rel=\"noopener\">How to Change Background Color in WordPress<\/a>?<\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/youstable.com\/blog\/how-to-redirect-your-404-pages-to-the-home-page-in-wordpress\/\" target=\"_blank\" rel=\"noopener\">How to Redirect your 404 pages to the Home Page in WordPress<\/a>?<\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/youstable.com\/blog\/edit-wp-config-php\/\" target=\"_blank\" rel=\"noopener\">How to Edit wp-config.php File in WordPress?<\/a><\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will learn how to enable one click login for PHPMyAdmin and RoundCube, an essential feature of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6765,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1195,350],"tags":[],"class_list":["post-9230","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogging","category-knowledgebase"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-Enable-One-Click-Login-for-PhpMyAdmin-and-RoundCube-01.jpg","author_info":{"display_name":"YouStable","author_link":"https:\/\/www.youstable.com\/blog\/author\/youstable"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=9230"}],"version-history":[{"count":2,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9230\/revisions"}],"predecessor-version":[{"id":15744,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9230\/revisions\/15744"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/6765"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=9230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=9230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=9230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}