Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
extremely lightweight alternative to heavy phpMyAdmin for quick and easy access MySQL databases
PHP
branch: master

Merge pull request #15 from JeroenBoersma/master

Http only cookies, export and config
latest commit 1060a0568d
@osalabs authored

README.md

other screenshots are here

How to Install

  • Download phpminiadmin.php file
  • Copy/Upload it to your webserver public directory (www or public_html or whatever...)
  • Open in your browser http:// yoursite.com/phpminiadmin.php

For additional security you may edit phpminiadmin.php file and set some password (see $ACCESS_PWD variable)

Config file

You can also create phpminiconfig.php in the same directory as phpminiadmin.php with database credentials or password. This way you can easily install future releases of phpminiadmin.php

In the directory samples you'll find phpminiconfig.php for known OpenSource packages

  • See phpminiconfig.php for an empty example
  • See phpminiconfig.magento.php to read Magento its app/etc/local.xml ($ACCESS_PWD is required)
  • See phpminiconfig.sugarcrm.php to read SugarCRM its config.php ($ACCESS_PWD is required)
  • See phpminiconfig.wordpress.php to read Wordpress its wp-config.php ($ACCESS_PWD is required)
  • See phpminiconfig.vtiger.php to read Vtiger its config.inc.php ($ACCESS_PWD is required)

Links

Change Log

changes in phpMiniAdmin 1.9.150108

  • httponly cookies so your plain password cannot be stolen by javascript
  • export disables foreign key checks
  • ask for super privilege(otherwise you get a error on import)
  • added support for a config file with credentials

changes in phpMiniAdmin 1.9.141219

  • added: total count of records displayed for selects with pagination (example: 50 out of 104)
  • fixed: labels on forms, so inputs can be correctly narrated for blind users

changes in phpMiniAdmin 1.9.140405

  • fixed: couple low risk XSS vulnerabilities
  • fixed: CSV export in UTF-8
  • added: ability to quickly create new database without SQL knowledge
  • added: autofocus to login pwd field
  • added: some minor compatibility changes for PHP 4.x
  • changed: yellow row highlight removed if clicked again
  • changed: if field contains binary data (char codes < 32), only first 16 hex will be displayed (if you want to dump full content - select just one this field)

changes in phpMiniAdmin 1.8.120510

  • fixed: Undefined offset in get_rand_str
  • fixed: automatic relogin on XSS error
  • added: page navigator at the bottom
  • added: row counts, table sizes on the table list
  • added: MIT license
  • added: query history via browser's localStorage
  • added: if database empty - show databases
  • added: after import - show tables
  • changed: moved from html 4.01 to html 5
  • changed: simplified settings form

changes in phpMiniAdmin 1.7.111025

  • fixed: unable to relogin on XSS error
  • fixed: truncate button doesn't work
  • minor changes in text labels and css styles

changes in phpMiniAdmin 1.7.110429

  • added: import/export to/from gzip compressed files (.gz)
Something went wrong with that request. Please try again.