A MySQL log analysis tool
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE.md
README.md
composer.json
test.php

README.md

A MySQL log analysis tool

Install

composer require lscho/analysis dev-master

Use

<?php
require_once __DIR__ . '/vendor/autoload.php';
use Analysis\MysqlBinLog;
$MysqlBinLog = MysqlBinLog::getInstance([
        'host' => '127.0.0.1',
        'username' => 'root',
        'password' => '123456',
        'database' => 'test',
    ]);
$data = $MysqlBinLog->getData();
//print_r($data);

License

  • MIT