Home Plugins error establishing db connection monitor
Error Establishing DB Connection Monitor logo

Error Establishing DB Connection Monitor

by allgen on WordPress.org

A simple solution to error establishing a database connection problem in Wordpress environment. This is solving stopping problem of mysql in linux env …

(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.
Fix the Error Establishing a Database Connection in WordPress

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

  • This plugin includes examples of how we implement a plugin sidebar in our own plugins and exmple widgets like our own mail-chimp newsletter subscription, etc.
  • You will have to either know how to modify these for your own needs or remove them completely.
  • We cannot promise support for specific questions about what to modify in your scenario.
  • Icon made by Freepik from www.flaticon.com
    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
Active installations10+
Weekly downloads
10-37.50%
Version1.0.0
Last updated2/3/2019
WordPress version3.5
Tested up to5.0.22
PHP version5.6
Tags
connectiondatabaseerrorestablishingservice
Error Establishing DB Connection Monitor | Plugin0