loadsys/cakephp-tablemaintenanceshell
最新稳定版本:1.0.0
Composer 安装命令:
composer require loadsys/cakephp-tablemaintenanceshell
包简介
A CakePHP console tool to run common MySQL database maintenance queries
关键字:
README 文档
README
A CakePHP v2.x console tool to run common MySQL database maintenance queries, including:
- CHECK
- ANALYZE
- OPTIMIZE
- REPAIR
Tables are locked with a READ lock for the check action, or WRITE locks for all other actions. This is to mimic the behavior of mysqlcheck as described here.
Requirements
- CakePHP 2.x
- PHP 5.3+
Installation
$ composer require loadsys/cakephp-tablemaintenanceshell
Usage
Console/cake TableMaintenance.table_maintenance run {action} {table|ALL}
The {action} param can be any one of:
checkanalyzeoptimizerepair
The {table} param can be any valid table name, or the special word ALL meaning all tables.
Adding the --quiet or -q flag will suppress output unless an error exists.
Contributing
Reporting Issues
Please use GitHub Isuses for listing any known defects or issues.
Development
When developing this plugin, please fork and issue a PR for any new development.
License
Copyright
Loadsys Solutions 2018
统计信息
- 总下载量: 5.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-16