You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your MySQL server configuration file you need to enable replication:
21
21
@@ -26,6 +26,40 @@ In your MySQL server configuration file you need to enable replication:
26
26
max_binlog_size = 100M
27
27
binlog-format = row #Very important if you want to receive write, update and delete row events
28
28
29
+
Configuration
30
+
=========
31
+
32
+
You can pass this params to ConfigService->makeConfigFromArray([])
33
+
34
+
'user' - your mysql user (mandatory)
35
+
36
+
'ip' - your mysql host ip (mandatory)
37
+
38
+
'password' - your mysql password (mandatory)
39
+
40
+
'port' - your mysql host port
41
+
42
+
'dbName' - db name you want to listen
43
+
44
+
'charset' - db connection charset
45
+
46
+
'gtid' - GTID marker(s) to start from (format 9b1c8d18-2a76-11e5-a26b-000c2976f3f3:1-177592)
47
+
48
+
'slaveId' - script slave id for identification
49
+
50
+
'binLogFileName' - bin log file name to start from
51
+
52
+
'binLogPosition' - bin log position to start from
53
+
54
+
'eventsOnly' - array to listen on events (full list in [ConstEventType.php](https://github.com/krowinski/php-mysql-replication/blob/master/src/MySQLReplication/Definitions/ConstEventType.php) file)
55
+
56
+
'eventsIgnore' - array yo ignore events (full list in [ConstEventType.php](https://github.com/krowinski/php-mysql-replication/blob/master/src/MySQLReplication/Definitions/ConstEventType.php) file)
57
+
58
+
'tablesOnly' - array to only listen on given tables
59
+
60
+
'databasesOnly' - array to only listen on given databases
0 commit comments