承接 vse/dbtool 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

vse/dbtool

Composer 安装命令:

composer require vse/dbtool

包简介

A phpBB extension that allows you to check, optimize and repair phpBB's MySQL database tables from a phpMyAdmin-like interface in the Administration Control Panel or from the CLI.

README 文档

README

A phpBB extension that will allow you to check, optimize and repair phpBB's MySQL database tables in the Administration Control Panel or from the Command Line Interface.

Build Status codecov Maintainability Latest Stable Version

Features

  • Optimize, Repair, and Check tables directly from the ACP or the CLI
  • Select individual tables or all tables at once
  • Displays table size and table overhead values in the ACP
  • Option to safely disable board during the optimize/repair process
  • Results are logged to the Admin log
  • Enhanced JavaScript interactions

Minimum Requirements

  • phpBB 3.2.0
  • PHP 5.4 or higher
  • MySQL 4.0.1 or higher (using MyISAM, InnoDB or Archive table types)

Install

  1. Download the latest validated release.
  2. Unzip the downloaded release and copy it to the ext directory of your phpBB board.
  3. Navigate in the ACP to Customise -> Manage extensions.
  4. Find Database Optimize & Repair Tool under Disabled Extensions and click Enable.

Usage

After installation, you can find the Optimize & Repair Tool in:

ACP -> Maintenance -> Database -> Optimize & Repair.

Use this extension at your own risk! There have been cases with certain shared web hosts where a database table could crash for a huge forum. This extension will perform the same functions on your database as phpMyAdmin, so if you have been using phpMyAdmin on your database with no problems, then it should be safe to use this extension. It is always safest to run a backup of your database before performing any Optimize or Repair functions just in case anything goes wrong.

Note: InnoDB table types do not support the Repair option.

CLI Usage

The Optimize & Repair Tool can also be run from the command line interface in phpBB using the db:tool command. The tool will prompt you to choose an operation: Optimize, Repair, or Check.

To check, optimize, or repair all tables:

php bin/phpbbcli.php db:tool

To check, optimize, or repair a specific table:

php bin/phpbbcli.php db:tool table_name

To disable the board during an operation, use the --disable-board or -D option:

php bin/phpbbcli.php db:tool --disable-board

To see help for the Optimize & Repair Tool command:

php bin/phpbbcli.php db:tool --help

Uninstall

  1. Navigate in the ACP to Customise -> Manage extensions.
  2. Click the Disable link for Database Optimize & Repair Tool.
  3. To permanently uninstall, click Delete Data, then delete the dbtool folder from phpBB/ext/vse/.

License

GNU General Public License v2

© 2013 - Matt Friedman

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-only
  • 更新时间: 2014-08-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固