Bobcares Logo
Search Call 1-800-383-5193 Emergency Contact
Bobcares Logo
Search Call 1-800-383-5193 Emergency Contact
Emergency Contact

How To Enable One-Click Login for PhpMyAdmin from DirectAdmin

by Rinoy | Nov 19, 2025 | DirectAdmin, Latest | 0 comments

Enable One-Click Login for PhpMyAdmin from DirectAdmin with simple steps, real commands, and practical guidance that saves time and improves database access instantly. Our DirectAdmin Live Support Team is always here to help you.


If you manage databases daily, you already know how tiring it can get to enter credentials every single time. So here’s the fix many admins swear by: Enable One-Click Login for PhpMyAdmin from DirectAdmin. This feature lets you jump straight into phpMyAdmin without typing a username or password. And once you try it, you’ll never want to go back.

Before anything else, make sure you have root access. You’re about to run commands that actually change how your DirectAdmin setup works.

Overview

  • Log in as Root
  • Turn on One-Click Login
  • Update CustomBuild
  • Test the One-Click Login
  • Block Direct Login to phpMyAdmin
  • Access to phpMyAdmin is only allowed from the control panel

1: Log in as Root

Start by accessing your server through SSH as the root user. After that, move into the DirectAdmin directory:

cd /usr/local/directadmin/

2: Turn on One-Click Login

Next, enable the auto-login feature using the built-in DirectAdmin command:

./directadmin set one_click_pma_login 1

This single switch does the main job, but of course, you must restart the service so the change takes effect.

service directadmin restart

3: Update CustomBuild

Now, continue to the CustomBuild directory:

cd custombuild

Then update the build file:

./build update

And finally, rebuild phpMyAdmin so DirectAdmin can apply your changes:

./build phpmyadmin

At this point, you have already enabled Enable One-Click Login for PhpMyAdmin from DirectAdmin on the backend. Now it’s time to test it.

4: Test the One-Click Login

Go back into your DirectAdmin panel as root. Head to Account Manager → MySQL Management.
Choose any database. On the far right, click Login. Instead of seeing the phpMyAdmin login screen, you will be taken straight inside. That’s how you know the feature is active.

5: Block Direct Login to phpMyAdmin (Optional but Smart)

Sometimes, direct login using database credentials isn’t something you want to allow. For extra protection, you can make phpMyAdmin accessible only through Single Sign-On.

Start by moving to the CustomBuild directory again:

cd /usr/local/directadmin/custombuild

Update the script:

./build update

Disable public phpMyAdmin access:

./build set phpmyadmin_public no

Rebuild phpMyAdmin once more:

./build phpmyadmin

Now, any user trying to access phpMyAdmin with a normal username and password will see this message:

Access to phpMyAdmin is only allowed from the control panel.

This setup not only keeps things simple but also adds a layer of safety. And because convenience matters as much as security, enabling Enable One-Click Login for PhpMyAdmin from DirectAdmin gives you both.

Conclusion

Admins today want speed, clarity, and fewer steps to get things done. That’s why more people choose to Enable One-Click Login for PhpMyAdmin from DirectAdmin. It cuts wasted minutes, reduces login errors, and keeps your workflow clean. And even better, the steps are easy enough for anyone to follow.

Once you set it up, you’ll realize how much smoother database management can be. So go ahead and Enable One-Click Login for PhpMyAdmin from DirectAdmin, it’s a small change with big results.

Related posts:

    1. How to enable Redis DirectAdmin
    2. DirectAdmin Generate CSR | How-to Guide
    3. Domain pointer in DirectAdmin: How to Set up?
    4. Install rspamd and redis on DirectAdmin: A complete guide

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • A 15-Minute Self-Hosted RAG Stack Tutorial: From Zero to Production
  • Designing Data Pipelines That Prevent Outages Across Global Systems
  • Deployment Automation: Deploy With Efficiency and Consistency
  • What Is Proactive Monitoring? A Complete Guide
  • AI Use Cases: How Artificial Intelligence Is Used Across Industries

Categories

  • Advanced Vulnerability
  • AI Services
  • AI Support
  • AIOps
  • Amazon Web Services (AWS)
  • Apache
  • API Integration
  • Application Development
  • Azure
  • Cloud Cost Optimization
  • Cloud Management
  • Cloud-Native Application
  • Cloudflare
  • cPanel
  • cPanel migration
  • Cyberpanel
  • DDoS
  • Development Service
  • DevOps
  • DevOps Consulting
  • DevSecOps
  • Digital Transformation
  • DigitalOcean
  • DirectAdmin
  • Docker
  • Drupal
  • Ecommerce
  • Filezilla
  • FTP
  • Google cloud platform
  • HAProxy
  • Headless CMS Integration
  • Hosting Support
  • IIS
  • Infrastructure Management & Optimization
  • Kubernetes
  • KVM
  • Laravel
  • Latest
  • Linode
  • Litespeed
  • LXC/LXD
  • Magento
  • Mobile App Development
  • MongoDB
  • Moodle
  • MySQL
  • NFS
  • Nginx
  • OnApp
  • Outsourced Support
  • OVH
  • ovirt
  • pfsense
  • Plesk
  • PostgreSQL
  • PowerDNS
  • Product Engineering
  • Proxmox
  • RedHat
  • Redis
  • Sendmail
  • Server Administration
  • Server Management
  • Software Development
  • SQLServer
  • Technical Support
  • UI/UX
  • Virtualizor
  • VMware
  • VPN
  • Vulnerability Scanning
  • Vultr
  • Web Development
  • Windows
  • WordPress
  • WordPress Hosting
  • WordPressHA

Subscribe to our newsletter

Footer newsletter

Email sales@bobcares.com | Phone 1-800-383-5193

Product Engineering

  • MVP Build
  • MVP to Scale
  • Product Maintenance

Digital Transformation

  • Process Digitization & Automation
  • Systems Integration & Workflow Orchestration
  • Data Enablement & Decision Support
  • Application & Platform Modernization
  • Transformation Execution & Delivery Enablement

AI Services

  • AI Readiness & Use-Case Discovery
  • AI Integration & Application Enablement
  • Intelligent Automation & AI Workflows

Infrastructure Management

  • Always-On Infrastructure Management
  • Proactive Monitoring & Incident Prevention
  • Cloud Cost Control & Optimization (FinOps)
  • Outsourced IT & End-User Support
  • Managed Infrastructure Execution Support

DevOps & Automation Services

  • CI/CD & Release Automation
  • Infrastructure as Code & Platform Standardization
  • Reliability Engineering & Observability
  • DevSecOps Enablement
Product Engineering +
Web Development MVP to Scale Builds Microservices Architecture Agile & Dev Team Augmentation Mobile Apps Ecommerce UI/UX Design QA & Test Automation
Digital Transformation +
Legacy Modernization Workflow Automation Data-Driven Dashboards CRM / ERP Integration Business Process Re-engineering
AI Services +
AI & Machine Learning AIOps Intelligent Automation Business Intelligence & Analytics AI Installation & Compute
Infrastructure Management +
Cloud Setup Cloud Migration Managed Cloud Services Server & Hosting Cost Optimization Performance Optimization Outsourced Support
DevOps & Automation Services +
CI/CD Setup Kubernetes & Docker Infrastructure as Code Cloud-Native Migration DevSecOps
Cybersecurity & Compliance Services +
Security Hardening VAPT Incident Response Backup & DR

© 2026 Bobcares. All Rights Reserved.

  • Careers
  • |
  • Cookie Policy
  • |
  • GDPR
  • |
  • Privacy Policy
  • |
  • Terms and Service
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook

Preview of the new Bobcares experience
NEW UPDATE
See What’s New
at Bobcares

Discover a faster, clearer view of our services and expertise.


Explore the New Experience
Arrow Right