loadsys/cakephp-tablemaintenanceshell 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

loadsys/cakephp-tablemaintenanceshell

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.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固