Questions tagged [adminer]

Adminer is an open-source database management tool distributed in a single PHP file. It supports MySQL, PostgreSQL, SQLite, MS SQL and Oracle. It focuses mainly on security, user experience, performance and feature set.

Overview

Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to , it consist of a single file ready to deploy to the target server.
It is available for and .

It focuses mainly on :

  1. security
  2. User experience
  3. Performance
  4. Feature set
  5. Size

Features

  • Connect to a database server with username and password
  • Select an existing database or create a new one
  • List fields, indexes, foreign keys and triggers of table
  • Change name, engine, collation, auto_increment and comment of table
  • Alter name, type, collation, comment and default values of columns
  • Add and drop tables and columns
  • Create, alter, drop and search by indexes including fulltext
  • Create, alter, drop and link lists by foreign keys
  • Create, alter, drop and select from views
  • Create, alter, drop and call stored procedures and functions
  • Create, alter and drop triggers
  • List data in tables with search, aggregate, sort and limit results
  • Insert new records, update and delete the existing ones
  • Supports all data types, blobs through file transfer
  • Execute any SQL command from a text field or a file
  • Export table structure, data, views, routines, databases to SQL or CSV
  • Print database schema connected by foreign keys
  • Show processes and kill them
  • Display users and rights and change them
  • Display variables with links to documentation
  • Manage events and table partitions (MySQL 5.1)
  • Schemas, sequences, user types (PostgreSQL)
  • Extensive customization options

Requirements

  • Works with MySQL, PostgreSQL, SQLite, MS SQL, Oracle, SimpleDB, Elasticsearch, MongoDB
  • Supports PHP 5 with enabled sessions
  • Available in Arabic, Catalan, Chinese, Czech, Dutch, English, Estonian, French, German, Hungarian, Italian, Japanese, Lithuanian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Tamil, Turkish, Ukrainian, ... (32)
  • Free for commercial and non-commercial use (Apache License or GPL 2)

Links

143 questions
1
vote
2 answers

MariaDB loop not displaying results of query

I have a simple query: SELECT COUNT(ud.UserID), COUNT(DISTINCT ud.ProductID) FROM users_data AS ud JOIN products AS t ON t.ID = ud.ProductID WHERE ud.UserID = '3' Which results in: COUNT(ud.UserID) COUNT(DISTINCT ud.ProductID) 519 …
ctfd
  • 338
  • 3
  • 14
1
vote
0 answers

How to connect slim3 api endpoint to serve 3rd party php file

tldr I want to make an endpoint /tools/dbadmin to serve adminer file for database management. In slim 3 Question During slim 2 era, I simply used to put_file_content adminer file to an endpoint and use it. Heck I was even able to load its plugins. I…
Abhinav Kulshreshtha
  • 2,147
  • 1
  • 23
  • 38
1
vote
3 answers

Docker can't connect to adminer port

Hi i'm working with docker-compose file to work with postgresql and adminer(database interface). I followed the instruction on the postgres image on docker hub and do docker stack deploy -c docker-compose.yml postgres_test, but when i try to connect…
Zerontelli
  • 279
  • 3
  • 5
  • 20
1
vote
1 answer

Creating a conf file for a web server

For my web database I am trying to create a webserver so I need to make a conf file. When I try to edit my conf file and save it wont let me and says permission denied. I have already given myself read and write access, but I still don't have access…
wonderhead
  • 11
  • 1
1
vote
1 answer

postgresql: how to store id in session

I'm using postgreSQL with Python (using Flask and SQLAlchemy as ORM), and I am implementing a website which requires the user to register and log in, after registering I want the user to automatically log in, for this I used: # storing id in…
R. Gurung
  • 1,356
  • 1
  • 14
  • 34
1
vote
1 answer

Adminer Tables-Filter plugin with Pematon / adminer-custom

I want to use the tables-filter plugin with the pematon/adminer-custom package. Tables-filter works fine with a plain adminer. Problem: In pematon/adminer-custom Tables-filter doesn't show on the screen. I have been looking through the source code…
David Gleba
  • 517
  • 1
  • 5
  • 21
1
vote
0 answers

Stored Procedure MySQL Syntax error in Adminer

I'm very new to stored procedures in MySQL in general. I am trying to create one in Adminer and I keep getting a syntax error message: Syntax error near '$$ CREATE PROCEDURE test() BEGIN SELECT * from lead; END$$ DELIMITER' at line 2 I'm trying to…
Allan
  • 1,162
  • 1
  • 9
  • 19
1
vote
0 answers

Docker Stack: Setup Adminer and MySQL Connection Refused

Story I am new to docker. While reading some docs I bumped into this docker image and followed its quick database system setup example. Example stack.yml for adminer. I then run docker stack deploy -c stack.yml adminer and get the following screen…
Guill
  • 350
  • 5
  • 17
1
vote
0 answers

Adminer Editor Login - Password missing

I am currently trying to setup the simple adminer editor version. I am not sure why but I have problems understanding how adminer is working with its password data which lead to the following question: How can I pass the password data to the…
Pixelartist
  • 378
  • 5
  • 17
1
vote
2 answers

adminer only displays one database

I download Adminer 4.2.5 from https://www.adminer.org/#download which is just one php file around 414 kB in size. I placed this in /localhost/ and was able to log in to database without any issues. But the only problem is that, I have about 24…
user7342807
  • 323
  • 6
  • 21
1
vote
1 answer

Reorder rows in database

I need to change order of rows in database table. My table has 4 columns and 7 rows. I need to reorder these rows pk_i_id int(10) unsigned Auto Increment s_name varchar(255) NULL s_heading varchar(255) NULL …
JZK
  • 557
  • 1
  • 6
  • 23
1
vote
1 answer

Why error occurs when I send multiple queries into mysqli_query?

The same request in the Adminer has no errors, but in php is You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SET @lastID = last_insert_id(); INSERT INTO …
Alexey
  • 71
  • 7
1
vote
1 answer

Setting up MySQL managed by Adminer in XAMPP

I'm just having some trouble setting up Adminer in XAMPP. I'm doing something with databases for the first time, so please bear with me if this is an amateur mistake. So I dropped the adminer.php file into the htdocs folder of XAMPP and started both…
Aswin G
  • 97
  • 2
  • 8
1
vote
1 answer

"Permission denied" error from Adminer with root@localhost

I'm trying to use Adminer to connect to MariaDB database, but I get "Permission denied" error when I press the Login-button. Note that this is NOT "Access denied" which I'd expect if e.g. password is wrong. This is my first time using MariaDB, and…
Markus Laire
  • 2,837
  • 2
  • 17
  • 23
1
vote
1 answer

Adminer Login PHP

I'm manage user logins into Adminer. The PHP code to try to achieve this is below: