Back to services

Adminer

Database management in a single PHP file. Available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch, MongoDB and others.

View alternatives to Adminer
Suggest edit
Open source
Self-hostable
Apache-2.0, GPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Adminer is a web-based database management tool, formerly known as phpMinAdmin, created by Jakub Vrána. Its defining feature is that the entire application is a single PHP file. Upload that file to a server that supports PHP, and you can manage your databases from the browser. The official site positions it as an alternative to phpMyAdmin: phpMyAdmin consists of thousands of files, while Adminer is just one file, supports more types of databases, and its pages are several times smaller and faster.

The project's development priorities, in order, are: security, user experience, performance, features, and size.

Supported Databases

  • Built-in support: MySQL, MariaDB, PostgreSQL, CockroachDB, SQLite, MS SQL, Oracle
  • Supported via plugins: Elasticsearch, SimpleDB, MongoDB, Redis, Firebird, ClickHouse, DuckDB, Parquet, IGDB, IMAP, and more

Key Features

  • Connect to a database server with a username and password, then select an existing database or create a new one
  • View a table's columns, indexes, foreign keys, and triggers; change a table's name, engine, collation, auto-increment value, and comment
  • Add and drop tables and columns, and change a column's name, type, collation, comment, and default value
  • Create, alter, and drop indexes (including full-text indexes), foreign keys, views, stored procedures and functions, and triggers
  • Browse table data with search, aggregation, sorting, and result limits; insert, update, and delete records
  • Support for all data types, with BLOBs that can be uploaded or downloaded as files
  • Run any SQL command, either typed into a text box or imported from a file
  • Export table structures, data, views, stored routines, and databases as SQL or CSV
  • Display a diagram of the database structure based on foreign key relationships
  • View and kill processes, view and edit users and privileges, and view server variables
  • Support for generated columns and CHECK constraints; MySQL events and table partitioning; and PostgreSQL schemas, sequences, and user-defined types
  • Deep customization through plugins and an extension interface

Target Users and Use Cases

Suited to web developers, operations staff, site owners, and shared-hosting users: quickly manage databases on a server, debug application data, import and export backups, or work with a database through the browser when installing a desktop client is inconvenient.

Installation and Deployment

  1. Download adminer.php from the official website. Several versions are available: the full version (all databases and languages), an English-only version, and a MySQL-only version.
  2. Upload the file to a directory on a web server that supports PHP, then open it in your browser to start using it.
  3. You can also use a fixed link to get the latest stable version, for example wget https://www.adminer.org/latest.php.
  4. The community also provides an official Docker image, Debian and Arch Linux packages, and integration packages for platforms such as cPanel, WordPress, Drupal, Laravel, and Moodle.

Changing the look: Place adminer.css or adminer-dark.css in the same directory as adminer.php to use any of the community-provided themes, including several dark themes.

Technical Requirements

  • PHP 5.3 or later, compatible with PHP 7 and 8, with sessions enabled
  • The interface supports 47 languages and also offers a mobile layout and dark mode

License

Adminer is dual-licensed under the Apache License 2.0 or GPL 2, and is free for both commercial and non-commercial use.

Security Notes

Adminer does not allow connecting to a database without a password, and it limits the rate of login attempts to prevent brute-force attacks. The project still recommends the following:

  • Do not expose Adminer publicly; set up an IP allowlist or add password protection at the web server level
  • Enable a security plugin (for example, one that requires a one-time password, OTP), or customize the login method
  • Delete the file when you are not using it, and upload it again when needed
  • Update promptly when a notice about a new version appears, as security vulnerabilities have been found in the past

Related Products

The project also offers Adminer Editor, a simplified data editing tool aimed at end users.