LinuxAlternative

Linux · Programming

Adminer

Adminer is a lightweight web-based database management tool written in PHP, often used as a single-file replacement for HeidiSQL on Linux.

Open sourceFree
Be the first to rate
License
GPL-3.0
Latest version
6.1.2

What is Adminer?

Adminer is a single PHP file that bundles a full-featured database management interface. It supports MySQL, MariaDB, PostgreSQL, SQLite, Oracle, and more, and has been available since 2010. The project is maintained by a small team, with frequent security updates and a stable release cycle.

It is aimed at developers, sysadmins, and power users who prefer a quick, browser-based interface over heavy desktop clients. Because it runs inside a web server, it can be accessed from any machine with a browser, making it convenient for remote database administration.

Compared to HeidiSQL, Adminer feels more minimalistic; it lacks some of the advanced query builder features and the Windows‑style GUI. However, its simplicity and low resource footprint make it a solid choice for quick tasks and for environments where installing a full desktop client is impractical.

Best for: Quick, web‑based database administration when a lightweight tool is needed.

Key features of Adminer

  • Single PHP file, no installation required
  • Supports MySQL, MariaDB, PostgreSQL, SQLite, Oracle, and more
  • Built‑in import/export for SQL, CSV, XML, JSON
  • User‑defined shortcuts and themes
  • Session management and password protection
  • Extensible via plugins
  • Responsive UI for mobile browsers

Pros

  • Very lightweight – runs from a single file
  • Cross‑platform – works on any web server with PHP
  • Frequent security updates
  • Extensible with plugins
  • Open source and free

Cons

  • No native desktop client, relies on a web server
  • Limited advanced query features compared to HeidiSQL
  • No built‑in backup wizard
  • Requires PHP and web server setup

Windows programs Adminer replaces

How to install Adminer on Linux

Ubuntu / Mintsudo apt install adminer
Debiansudo apt install adminer
openSUSEsudo zypper install adminer

Tips for Windows users

When moving from HeidiSQL to Adminer, remember that Adminer operates inside a web server; you’ll need to place the adminer.php file in a web‑accessible directory and access it via http://yourserver/adminer.php. Import/export formats remain the same (SQL, CSV, XML, JSON). Keyboard shortcuts differ: Adminer uses Ctrl+S for save and Ctrl+F for find, while HeidiSQL uses Ctrl+S for save and F3 for find. Workflow changes: you’ll no longer have a local GUI; instead, you’ll use a browser, which may feel slower for large result sets but is consistent across machines.

Adminer: frequently asked questions

Is Adminer safe to use on a production server?

Adminer is safe if you restrict access to trusted users, use HTTPS, and set a strong password. It does not store credentials in plain text and can be protected by web server authentication.

Can I use Adminer to manage PostgreSQL databases?

Yes, Adminer supports PostgreSQL out of the box. Just select PostgreSQL from the database type dropdown when connecting.

Does Adminer support SSL connections to MySQL?

Yes, when connecting you can enable SSL in the connection options; Adminer will then use the MySQL client library’s SSL support.

How do I add custom plugins to Adminer?

Place the plugin PHP files in the same directory as adminer.php and include them with the "plugin" parameter in the URL, e.g., adminer.php?plugin=plugin_name.

Updated