Linux 软件免费装
Banner图

Error Establishing DB Connection Monitor

开发者 allgen
allgen io
更新时间 2019年2月4日 04:51
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 5.0.3
版权: GPLv2 or later
版权网址: 版权信息

标签

plugin error database monitoring monitor service mysql establishing connection

下载

1.0.0

详情介绍:

This plugin helps Wordpress users automatically restarts the mysql service when it is stopped by any unexpected traffic, attack or lack of resources in linux environment. There are lots of TODO for this plugin. After first release, the monitoring script for mysql service will be improved. The linux cron will be automatically copied to the expected directory. This plugin is tested with apache2 server. How to Use this Plugin Template
  1. Download this plugin.
  2. After Plugin Activation GOTO Settings > Error Establishing DB Connection Monitor Plugin.
  3. Select monitoring interval for your sites downtime(hourly, daily etc.)
  4. Follow the instructions in the plugin's settings page.
Important Notes Enjoy! Features Example techniques included in this Plugin Template
  1. Generating monitoring script for mysql service
  2. After monitoring script starts the mysql service again TODO Emailing about downtime will be added.
  3. Using a class approach to building a plugin
  4. Minimal variable updates by re-using class level variables for things like the plugin name and slug
  5. Using common WordPress hooks and filters
  6. Creating an admin menu item under the Settings menu

安装:

  1. Log in to your WordPress site as an administrator
  2. Use the built-in Plugins tools to install from the repository or unzip and Upload the plugin directory to /wp-content/plugins/
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. The current output of the plugin template can be seen by going to Settings > Error Establishing DB Connection Monitor

常见问题:

Is this plugin changes anything?

No, actually it only watches if your site is down with PHP crontab feature. Even if the mysql is down, it simply restarts the service and saves your sites traffic.

Changelog

1.0.0

  • First public release