{"id":646,"date":"2024-07-24T17:25:47","date_gmt":"2024-07-24T11:55:47","guid":{"rendered":"https:\/\/webhostingbengaluru.co.in\/tutorials\/?p=646"},"modified":"2024-07-24T17:25:49","modified_gmt":"2024-07-24T11:55:49","slug":"enable-auto-login-phpmyadmin","status":"publish","type":"post","link":"https:\/\/webhostingbengaluru.co.in\/tutorials\/enable-auto-login-phpmyadmin\/","title":{"rendered":"How To Enable Auto-Login for PHPMyAdmin Via DirectAdmin?"},"content":{"rendered":"\n<p>Proper management of your website\u2019s 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\u00a0PHPMyAdmin\u00a0through DirectAdmin speeds up the login process, thus saving precious minutes while also avoiding extra efforts to login.<\/p>\n\n\n\n<p>DirectAdmin PHPMyAdmin auto-login allows the users to effortlessly log in to the PHPMyAdmin.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#benefits-of-auto-login-for-php-my-admin\">Benefits of Auto-Login for PHPMyAdmin<\/a><\/li><li><a href=\"#steps-to-enable-one-click-login-for-php-my-admin-from-direct-admin\">Steps to Enable One-Click Login for PhpMyAdmin from DirectAdmin<\/a><\/li><li><a href=\"#test-the-auto-login-for-php-my-admin-in-direct-admin\">Test the Auto-Login for PHPMyAdmin in DirectAdmin<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"benefits-of-auto-login-for-php-my-admin\">Benefits of Auto-Login for PHPMyAdmin<\/h2>\n\n\n\n<p>Enabling auto-login for PHPMyAdmin using DirectAdmin\u00a0<a href=\"https:\/\/www.squarebrothers.com\/vps-hosting-india\/\" target=\"_blank\" rel=\"noopener\">server<\/a>\u00a0offers several advantages:<\/p>\n\n\n\n<ul>\n<li>Time-Saving: Eliminates the need to manually enter login credentials every time.<\/li>\n\n\n\n<li>Convenience: Streamlines the login process. Thus providing a seamless experience for managing your databases.<\/li>\n\n\n\n<li>Enhanced Security: Despite automatically logging you in, this feature maintains security by ensuring that access is restricted to authorized users only.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"steps-to-enable-one-click-login-for-php-my-admin-from-direct-admin\">Steps to Enable One-Click Login for PhpMyAdmin from DirectAdmin<\/h2>\n\n\n\n<p>To enable the one-click login for PhpMyAdmin in the DirectAdmin interface, follow these steps.<\/p>\n\n\n\n<p>Step 1: Login to server using SSH\/Putty<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"535\" src=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/puttde.webp\" alt=\"\" class=\"wp-image-655\" srcset=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/puttde.webp 596w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/puttde-300x269.webp 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/figure>\n\n\n\n<p>Step 2: Log in to the <a href=\"https:\/\/www.webhostingbengaluru.co.in\/vps-hosting\/\">DirectAdmin server<\/a> as a root user.<\/p>\n\n\n\n<p>Then, Switch to the \u2018directadmin\u2019 directory by executing the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># cd \/usr\/local\/directadmin\/<\/code><\/pre>\n\n\n\n<p>Run the following command to enable the one-click login for PHPMyAdmin.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># .\/directadmin set one_click_pma_login 1<\/code><\/pre>\n\n\n\n<p>After that, restart the DirectAdmin service by using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># service directadmin restart<\/code><\/pre>\n\n\n\n<p>Then, switch to the \u2018custombuild\u2019 directory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># cd custombuild<\/code><\/pre>\n\n\n\n<p>After that, execute the following command to update the build.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># .\/build update<\/code><\/pre>\n\n\n\n<p>Finally, Run the following command to make all the changes reflect in the DirectAdmin panel.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># .\/build phpmyadmin<\/code><\/pre>\n\n\n\n<p>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:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"test-the-auto-login-for-php-my-admin-in-direct-admin\">Test the Auto-Login for PHPMyAdmin in DirectAdmin<\/h2>\n\n\n\n<p>Log in to your DirectAdmin panel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"425\" src=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/Login-1536x638-1-1024x425.png\" alt=\"\" class=\"wp-image-658\" srcset=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/Login-1536x638-1-1024x425.png 1024w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/Login-1536x638-1-300x125.png 300w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/Login-1536x638-1-768x319.png 768w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/Login-1536x638-1.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click on\u00a0<strong>MySQL Management<\/strong>\u00a0in the\u00a0<strong>Account Manager<\/strong>\u00a0section<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"262\" src=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_mysql_management-1024x262.png\" alt=\"\" class=\"wp-image-660\" srcset=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_mysql_management-1024x262.png 1024w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_mysql_management-300x77.png 300w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_mysql_management-768x196.png 768w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_mysql_management.png 1439w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Navigate to phpMyAdmin via the DirectAdmin interface.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"213\" src=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_login_to_phpmyadmin-1536x319-1-1024x213.png\" alt=\"\" class=\"wp-image-661\" srcset=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_login_to_phpmyadmin-1536x319-1-1024x213.png 1024w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_login_to_phpmyadmin-1536x319-1-300x62.png 300w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_login_to_phpmyadmin-1536x319-1-768x160.png 768w, https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-content\/uploads\/2024\/07\/da_login_to_phpmyadmin-1536x319-1.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You should be Auto-Login for PHPMyAdmin in DirectAdmin without the need to enter your credentials.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Proper management of your website\u2019s databases is the key factor that allows stable operations. PHPMyAdmin, which is a database management tool that has gained popularity <a href=\"https:\/\/webhostingbengaluru.co.in\/tutorials\/enable-auto-login-phpmyadmin\/\" class=\"read-more-link\">[Read More&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":654,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/646"}],"collection":[{"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/comments?post=646"}],"version-history":[{"count":9,"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/646\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/646\/revisions\/662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/media\/654"}],"wp:attachment":[{"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/media?parent=646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/categories?post=646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostingbengaluru.co.in\/tutorials\/wp-json\/wp\/v2\/tags?post=646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}