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
1 answer

Python - Insert data to table not working

I think i have a problem with my database. Within my python code, i am able to create, drop and select data from my table, but i cannot insert any data. My execute function dbhandler.py def execute(self, sql): self.connection() …
MortenAbra
  • 27
  • 6
0
votes
0 answers

Replace part of serialized data "resets" data to standard settings

I'm managing a couple of hundreds of websites and need to change part of a serialized data. It's a wordpress child theme and inside of the theme's "Options" settings. Using this script UPDATE wp_e4e5_options SET option_value = REPLACE(option_value,…
Davallen
  • 61
  • 6
0
votes
1 answer

Setting NLS_DATE_FORMAT on Adminer

I am using Adminer 4.7.3 connecting to an oracle DB and I want to display dates in a different format from what the default is ('DD-MON-YY'). I tried using the command ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH:MI:SS' but it only lasts for…
yunyun333
  • 131
  • 1
  • 7
0
votes
2 answers

Show the list of all product's names ordered along with first and last names of the customers

I was doing an exercise and I am stuck on it. There are 2 tables: Customers(id, firstname, lastname, address) Orders (id, product_name, product_price, date_order DATE, id_customer, amount) The query: SELECT Orders.product_name,…
Susan Din
  • 11
  • 2
  • 5
0
votes
1 answer

not able to login in google cloud storage sql instance

I made instance in Google Cloud > Storage > SQL > MYSQL. Now I have to import database in it so I am trying to connect to MYSQL using adminer, but it gives following error SQLSTATE[HY000] [2002] Operation timed out I also tried via HeidiSQL >…
Jass
  • 3,345
  • 3
  • 24
  • 41
0
votes
1 answer

How to fix ```TypeError: can't pickle _thread._local object``` when inserting data into database?

When trying to insert a username and password into a PostgreSQL database table I get the following error: TypeError TypeError: can't pickle _thread._local objects Traceback (most recent call last) File…
M. Alex
  • 673
  • 5
  • 26
0
votes
2 answers

MariaDB select only results greater than

I have a query that looks like the following: select uid,leadcount,salescount,leadcount/salescount as diff from ( SELECT x.uid, COUNT(*) leadcount, COUNT(DISTINCT x.fid) FROM total_leads AS x WHERE x.uid BETWEEN 1 AND 5 GROUP BY x.uid ) t1 left…
ctfd
  • 338
  • 3
  • 14
0
votes
3 answers

MariaDB comparing number count from two tables

I'm trying to compare the total COUNT of one value in a table with the total COUNT of another, I'm just not sure how to do it properly. If a SalesID total COUNT in total_sales table is higher than fid total COUNT in total_leads table then I would…
ctfd
  • 338
  • 3
  • 14
0
votes
1 answer

CALLing a mySQL Stored Procedure from a PHP script - no error but not executing?

UPDATE AT THE END I'm following this Automatic Partition Maintenance in MySQL tutorial, which details a generic method for removing and adding mySQL table partitions based on date ranges. The idea is that you can jettison older table data…
AMarch
  • 153
  • 2
  • 14
0
votes
1 answer

SQL Syntax Error db_query

I am trying to run he following query from Adminer 4.6.2 and it gives me the vague "syntax error" with no further details: db_query("DELETE FROM {field_collection_item} WHERE field_name NOT IN (SELECT field_name FROM {field_config} WHERE type =…
Sam
  • 5,150
  • 4
  • 30
  • 51
0
votes
1 answer

This code compress a SQL file to zip using Php. I need to set password for the zip file produced

This code helps to make SQL file to a zip file in Php. Here a SQL file is compressed to a zip file. All I need is to set password for this. Can I use PHP-java bridge to make this happen? function dumpOutput() { if (!class_exists('ZipArchive'))…
naresh
  • 41
  • 2
  • 9
0
votes
1 answer

Adminer 4.3.1 - Only shows one database

I have recently moved hosts and I can not get adminer 4.3.1, downloaded today to see more than one database. Why it has chosen that one I do not know. The host company copied all my data from the original host. The databases are MySQL. I am…
mcl
  • 119
  • 15
0
votes
1 answer

Trying to store input type month in PHP client adminer

I want to store html input type month(month and year only) in adminer(db.php) using spring framework.But there is no such data type for month and year only in adminer, if i store month and year using date datatype it automatically set the date 1st…
0
votes
1 answer

alter table mytable drop `folder` not work

It Seems that the word folder is a keyword , but how can I delete the column once I add the folder , now I can not rename folder or delete it.
suconghou
  • 1
  • 1
  • 2
0
votes
1 answer

How do Adminer et al know what to update?

Here is what I am trying to understand. I have the following database table DROP TABLE IF EXISTS `test`; CREATE TABLE `test` ( `Field0` int(11) NOT NULL, `Field1` int(11) NOT NULL, `Field2` enum('a','b','c') COLLATE latin2_czech_cs NOT NULL )…
DroidOS
  • 8,530
  • 16
  • 99
  • 171
1 2 3
9
10