2017 © Pedro Peláez
 

library mysql-check

Checks a MySQL database for orphaned records or invalid foreign keys, i.e., keys pointing to missing rows.

image

dg/mysql-check

Checks a MySQL database for orphaned records or invalid foreign keys, i.e., keys pointing to missing rows.

  • Friday, June 22, 2018
  • by david@grudl.com
  • Repository
  • 2 Watchers
  • 10 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

MySQLChecker

Checks a MySQL database for orphaned records or invalid foreign keys, i.e., keys pointing to missing rows., (*1)

Create MySQLi object and then check database named blog:, (*2)

$mysqli = new mysqli('localhost', 'root', 'password');
checkForeignKeys($mysqli, 'blog');

Or without parameter it checks all databases:, (*3)

checkForeignKeys($mysqli);

If you like it, please make a donation now. Thank you!, (*4)

The Versions

22/06 2018

dev-master

9999999-dev https://github.com/dg/MySQL-check

Checks a MySQL database for orphaned records or invalid foreign keys, i.e., keys pointing to missing rows.

  Sources   Download

BSD-3-Clause

mysql

23/06 2013

v1.0.0

1.0.0.0 https://github.com/dg/MySQL-check

Checks a MySQL database for orphaned records or invalid foreign keys, i.e., keys pointing to missing rows.

  Sources   Download

BSD-3-Clause

mysql