Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
krowinski committed Aug 26, 2016
1 parent 38d7832 commit 202bf00
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ Based on a great work of creators:https://github.com/noplay/python-mysql-repli
Installation
=========

In you project

```sh
composer require krowinski/php-mysql-replication
```

or stand alone

```sh
git clone https://github.com/krowinski/php-mysql-replication.git
```

MySQL server settings
=========

Expand All @@ -33,7 +41,7 @@ Mysql replication events explained
Configuration
=========

You can pass this params to ConfigService->makeConfigFromArray([])
You can pass this array keys to ConfigService->makeConfigFromArray([])

'user' - your mysql user (mandatory)

Expand All @@ -49,6 +57,8 @@ You can pass this params to ConfigService->makeConfigFromArray([])

'gtid' - GTID marker(s) to start from (format 9b1c8d18-2a76-11e5-a26b-000c2976f3f3:1-177592)

'mariaDbGtid' - MariaDB GTID marker(s) to start from (format 1-1-3,0-1-88)

'slaveId' - script slave id for identification

'binLogFileName' - bin log file name to start from
Expand Down

0 comments on commit 202bf00

Please sign in to comment.