百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

phpminiadmin

> 数据库
开源

是一个极其轻量级的替代方案,可以快速、方便地访问 MySQL 数据库,而不需要使用繁重的 phpMyAdmin

322 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

是一个极其轻量级的替代方案,可以快速、方便地访问 MySQL 数据库,而不需要使用繁重的 phpMyAdmin

other screenshots

How to Install

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

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

Dependencies

phpminiadmin prefers PDO if the pdo_mysql driver is present.

Otherwise, if PDO is not available - mysqli must be enabled. If you encounter a white screen install/enable it:

  • sudo apt-get install php-mysql on Debian
  • or enable extension=php_mysqli.dll in php.ini on Windows
  • restart your webserver

Config file (optional)

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

  • Screenshots
  • Live demo (pwd: pmaiscool)
  • Download latest version
  • SourceForge page of the phpMiniAdmin
  • My X/Twitter
  • My website

Change Log

changes in phpMiniAdmin 1.9.251125 (latest)

  • enabled use of PDO by default if available with fallback to mysqli
  • reverted back from str_starts_with to strpos to support PHP 7
  • fix if does not have permission to run SHOW DATABASES
  • moved work with session under $_SESSION['phpMiniAdmin'], so it does not conflict with other applications sessions

changes in phpMiniAdmin 1.9.240801

  • fixed one php short open tag

changes in phpMiniAdmin 1.9.240727

  • support for PHP 8.3 (cleaned up some PHP Warnings, deprecations)
  • enhancements:
    • multiple db servers support - define server's configs via $DBSERVERS and quickly switch between servers via top navbar dropdown
    • "ps" menu item in top navbar - shortcut for "show processlist"
    • "SHOW TABLE STATUS" now works quicker because emulated via select from information_schema.TABLES
    • "WITH" (Common Table Expressions (CTEs)) support
    • moved include for phpminiconfig a bit further, so it allows override more things
  • security improvements:
    • $ACCESS_PWD now is enforced except for local usage
    • added by default "SET GLOBAL local_infile=0" to prevent unwanted use of LOAD DATA LOCAL INFILE. Controlled by $IS_LOCAL_INFILE on the beginning of the script.

see older changes in changelog

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPdatabase-managementmysqlphpphpmyadmin

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库