Video coming soon…

🗄️ Setup Adminer — Universal Database Web UI

Deploy Adminer on Ubuntu with Docker — a lightweight database management tool that supports MySQL, MariaDB, PostgreSQL, SQLite, and MongoDB from one clean web interface.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — Adminer running in one command.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/databases/adminer/adminer-ubuntu.sh
chmod +x adminer-ubuntu.sh
sudo bash adminer-ubuntu.sh

Tutorial Steps

1 Download & Run the Script

The script installs Docker and starts Adminer on port 8086. No database is bundled — Adminer connects to any existing database server you specify.

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/databases/adminer/adminer-ubuntu.sh
chmod +x adminer-ubuntu.sh
sudo bash adminer-ubuntu.sh

2 Access the Web UI

Open your browser and navigate to Adminer:

http://<your-server-ip>:8086

3 Select Database Type & Connect

Choose your database engine (MySQL, PostgreSQL, SQLite, MongoDB) from the System dropdown. Enter the server host, port, username, password, and database name. Click Login to connect and begin managing your database.

4 Explore and Manage Your Database

Browse tables, run SQL queries from the SQL command editor, import or export data in CSV and SQL formats, and manage users and privileges — all from any browser without installing client software.

Ports Used

PortPurpose
8086Adminer Web UI

Overview

Adminer (formerly phpMinAdmin) is a full-featured database management tool distributed as a single PHP file. Unlike bulky alternatives, Adminer handles MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, and MongoDB from one minimalist web interface. It provides SQL query execution, table browsing, data import/export, user management, and database structure visualization — everything you need to manage any database engine without installing dedicated client software on each machine.

Why Use It

Adminer gives you a complete, browser-based database management interface that works with virtually any database engine — no client installation required on each developer's machine. Its single-file PHP architecture means there is nothing to configure beyond the Docker container. Teams managing multiple database types across different projects eliminate the need for engine-specific desktop clients like MySQL Workbench, pgAdmin, or DataGrip, replacing them all with one lightweight web tool.

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Adminer runs on port 8086 by default. This port must never be accessible from the public internet — it is a database management interface with no rate limiting or brute-force protection beyond the database credentials themselves. Restrict port 8086 to localhost or your private network using UFW: ufw deny 8086. For remote team access, route through WireGuard VPN. If you must expose it externally, use Nginx Proxy Manager with HTTPS and HTTP Basic Authentication as an additional layer before the Adminer login.

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    phpMyAdmin is the most established MySQL web interface but only supports MySQL/MariaDB and is significantly heavier than Adminer. pgAdmin 4 is the definitive tool for PostgreSQL with a full-featured query planner, ERD viewer, and server monitoring — use it if PostgreSQL is your primary engine. DBeaver is a powerful open-source desktop client supporting all major databases with an ERD diagram editor. TablePlus and DataGrip are excellent commercial desktop clients with polished interfaces. For pure MySQL/MariaDB, phpMyAdmin remains the standard; for everything else, Adminer's multi-engine support is a compelling advantage.

                    When Not to Use It

                    Don't use Adminer as your primary database management tool if you heavily rely on ERD diagrams, query plan visualization, or performance analysis — pgAdmin and DBeaver are more suitable. For very large databases (millions of rows), Adminer's memory-loaded result sets become unwieldy; use command-line tools for bulk operations. Adminer is not suitable for database schema design work — use a dedicated modeling tool. In highly secure environments where any web-based database access is prohibited by policy, use SSH tunnels with a local GUI client instead.

                    PrismaTechWork Professional Help

                    PrismaTechWork provides end-to-end infrastructure services — from initial deployment and security hardening to ongoing monitoring, automated backups, and dedicated support. Whether you need a single-server setup or a multi-site network, our team ensures your infrastructure is built right, secured properly, and maintained reliably.

                      Contact Us

                      Frequently Asked Questions

                      What databases does Adminer support?

                      Adminer supports MySQL, MariaDB, PostgreSQL, SQLite, MS SQL Server, Oracle, Elasticsearch, and MongoDB. All from a single lightweight PHP file. This multi-engine support eliminates the need for separate management clients for each database type.

                      How does Adminer compare to phpMyAdmin?

                      Adminer is a single PHP file versus phpMyAdmin's hundreds of files. Adminer is significantly lighter, faster to load, and supports more database engines. phpMyAdmin only supports MySQL and MariaDB. Adminer has a cleaner interface and better security defaults. Most developers prefer Adminer for its simplicity and multi-database support.

                      Is Adminer safe to use for production databases?

                      Only if properly secured. Never expose Adminer to the public internet. Always place it behind a VPN (WireGuard) or restrict its port to trusted IPs only. Add HTTPS via a reverse proxy and HTTP Basic Authentication as an extra layer. Use a database user with minimum necessary privileges rather than the database root account.

                      Can Adminer connect to databases on other servers?

                      Yes. Adminer can connect to any database server reachable from its host. Enter the server hostname or IP and port in the login form. For Docker deployments, databases on the same Docker network are reachable by container name. Remote databases must have firewall rules allowing access from the Adminer server's IP.

                      Does Adminer support data import and export?

                      Yes. Adminer imports SQL dump files and CSV data, and exports tables in SQL, CSV, TSV, and other formats. For large databases, use mysqldump or pg_dump command-line tools for faster and more reliable exports — Adminer loads results into memory which is slow for very large datasets.

                      How do I connect Adminer to a PostgreSQL database in Docker?

                      Select 'PostgreSQL' from the System dropdown. For the server, enter the PostgreSQL container name if both containers are on the same Docker network (e.g., 'postgres'). Use port 5432, your PostgreSQL username, password, and database name. If on different networks, use the server's IP address instead.

                      Can I customize the Adminer interface with a dark theme?

                      Yes. Adminer supports custom CSS themes via a design file. Download a dark theme from the Adminer community plugins (adminer.org/en/extension/#design) and mount it as a volume in the Docker container. There are several popular dark themes available including dark-hive and flat themes from the community.

                      Is Adminer free and open source?

                      Yes. Adminer is open-source under the Apache and GPL licenses. It is free for all personal and commercial use with no restrictions. The project is maintained on GitHub at vrana/adminer. There is no paid version or premium tier — all features are included in the free release.