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
0
votes
0 answers

Adminer changes the name of the foreign key when I change its cascade options

I'm using Adminer to manage my MariaDB database. There is a problem though. When I want to change a foreign key that has a name, it changes the name to its default. How can I prevent that? I need the name of my foreign keys to remain what I have…
0
votes
0 answers

Flask migrate error - Error: Directory migrations already exists and is not empty

I'm working on a flask application project and it incorporates usage of tools such as docker, adminer and redis. I have a migration.py file that looks like this: from flask import Flask from configuration import Configuration from flask_migrate…
kosingas
  • 61
  • 1
  • 7
0
votes
2 answers

Adminer - Limit user to change only certain rows

I want to use Adminer Editor to allow users to change rows in one table. I use this function to limit users to see only the table I want: function tableName($tableStatus) { if($tableStatus['Name']==$TABLE_NAME) return $TABLE_NAME; } But…
zvi
  • 3,677
  • 2
  • 30
  • 48
0
votes
1 answer

How to find Keys from a php application project source code

I am trying to start a php website and its database is missing currently i am stuck t this error can anyone help me what it is if it is keys how to find . Please suggest me how to get keys and database details from php files.
0
votes
0 answers

Single-file Adminer issue with function and CSS

I'm trying to use the single-file Adminer version (this one to be specific) from my codebase. That codebase is needed to perform some checks before accessing Adminer. Composer autoloading in my application leads to the following issue when trying to…
GlennM
  • 300
  • 1
  • 14
0
votes
0 answers

Access a SQLite database with Adminer 4.8

I want to use Adminer 4.8.1 (latest as I write) with my SQLite 3 database, since, as written on Adminer website, it supports SQLite. However, when I try to connect to my SQLite DB, Adminer says Adminer does not support accessing a database without a…
bolino
  • 867
  • 1
  • 10
  • 27
0
votes
0 answers

Adminer-Edit calendar plugin

I want to add edit calendar plugin to my adminer, I followed all the steps that have been given on the adminer.org but when I refresh my local adminer URL it doesn't show any change however it should have shown a calender in a date field, pleas…
0
votes
1 answer

Docker Compose Adminer

I want to use the adminer image that is raised with the following docker command: docker run \ --rm -p 8000:80 -e MEMORY=512M -e UPLOAD=4096M dockette/adminer:full My docker-compose.yml is as follows: version: '2.4' services: …
Dom Rl
  • 35
  • 1
  • 6
0
votes
0 answers

Adminer php docker

I am trying to upload a .csv file to a database via adminer. It takes up about 100 Mb but I always get this error Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 16777224 bytes) in /var/www/html/adminer.php on line…
Dom Rl
  • 35
  • 1
  • 6
0
votes
1 answer

Adminer via Docker - can I dictate HTTP port?

I struggle a bit with Docker and ports, but here's my situation. I have a Docker compose file which spins up a Postgres DB and adminer, the admin GUI. Here's my (truncated) config: # database db: image: postgres:14.2 volumes: -…
Mitya
  • 33,629
  • 9
  • 60
  • 107
0
votes
1 answer

adminer - how to create composite primary key

I am trying to create a db schema using adminer php tool. For a particular table I have to create a composite primary key consisting of two fields viz., template_id and version. I don't seem to find a way to do this using adminer. When I select…
Mopparthy Ravindranath
  • 3,014
  • 6
  • 41
  • 78
0
votes
1 answer

Data truncated for column 'Order' at row 1

I know truncating data means a column has less capacity. But in my case, all I'm doing is to change the nullability of a numeric column, that has no value at all. I'm using MariaDB + Adminer. I have not executed an insert query. I just used Adminer…
Hossein Fallah
  • 1,859
  • 2
  • 18
  • 44
0
votes
2 answers

Select from database where there aren't any records since the last three months

I need to select the defaulting companies from my table (those who doesn't register a payment since october) This is an example of what my table looks…
0
votes
1 answer

I can't import my SQL tables from Adminer to MySQL Workbench without getting error: ERROR 1215 (HY000) at line 9: Cannot add foreign key constraint

I'm trying to deploy my NodeJS app to Heroku, and exported my MariaDB SQL tables with these parameters: Format: SQL Tables: DROP+CREATE |Triggers However, when I import them I get the vague error: ERROR 1215 (HY000) at line 9: Cannot add foreign…
0
votes
0 answers

Convert or store non-ascii characters properly in a MySQL Database

My Question How can I store or convert emojis and french accents and other special non-ascii characters in a MySQL database? The Problem Within the wp_posts table of my MySQL database called local, some characters in the content of the post_content…