定制 loadsys/cakephp-tablemaintenanceshell 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  • check
  • analyze
  • optimize
  • repair

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

MIT

Copyright

Loadsys Solutions 2018

统计信息

  • 总下载量: 5.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-16