Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Database Debugging Tools for Developers

WordPress database tools for debugging.

These tools are intended to be used by WordPress developers for testing and debugging.

The backup tool lets you do a quick backup of individual MySQL tables by duplication into the same database, i.e. using "CREATE TABLE copy LIKE orig; INSERT INTO copy SELECT * FROM orig;". Useful for testing when you know only some tables will be changed so you don't have to save and restore the entire database. Most useful for repeated testing, i.e. backup table(s), test, restore table(s), test, restore table(s), ... test, restore table(s), delete backup.

The diff tool shows the rows in the selected tables that were inserted, updated or deleted. For updated rows the columns that have changed values have the values highlighted - red for the original value and green for the new value. Although large values are truncated in table cells the full value is available by clicking on the table cell. Further, serialized values are prettified using JSON.stringify( value, 4 ). The diff tool is intended for viewing the effect on the database tables of a small number of WordPress operations, i.e. it is not suitable for testing a large number of WordPress operations.

Please visit https://wpdbdt.wordpress.com/ for a very quick introduction.

This plugin requires at least PHP 5.4.

Author Magenta Cuda
Profile
Contributors MagentaCuda
Tags backup, database, diff, testing, tool
  1. database-debugging-tools-for-developers screenshot 1

    Backup Tool

  2. database-debugging-tools-for-developers screenshot 2

    Diff Tool

  3. database-debugging-tools-for-developers screenshot 3

    Diff Tool - Detail View

  1. Download the plugin from the WordPress repository.
  2. Open the 'Plugins' menu item and activate the plugin.
  3. Read the tutorial at https://wpdbdt.wordpress.com/

2.2.0.1

  • fix a small bug with SELECT with multiple primary keys

2.2

  • fix broken RegEx's which failed to match some SQL operations as it should
  • support logging SQL SELECT operations
  • support recovery from backup/restore timeout failure

2.1.1

  • fix diff tool so that it correctly handles tables with multiple primary keys

2.1.0.2

  • bug fix

2.1.0.1

  • bug fix

2.1

  • improved user interface
  • code refactored to improve software quality

2.0.1.1

  • Fix HTML entities bug

2.0.1

  • Remember the table size, cell size and sort order for each table for the next session
  • Highlight the changed fields in serialized values

2.0.0.1

  • Fix readme tags

2.0

  • Added the diff tool

1.0

  • Initial release.

Can this be used for backing up a database?

No, the backup is done by creating additional tables in the same database so if the database is lost the backup is also lost.

Share  
Download
Version 2.2.0.1

Requires WordPress version: 3.6 or higher

Compatible up to: 4.7.2

Last Updated 24 Dec 2016

Date Added: 03 Nov 2015

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
1 ratings
757 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0