Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2019-07-23 02:21:00 +0300
committerGitHub <noreply@github.com>2019-07-23 02:21:00 +0300
commita50080b1814d0620978499e5421fffe5313433f6 (patch)
tree16e59dc9be45fd11778379df45314f0af751f602 /config/global.ini.php
parent7faea0438eee8085fc15aa118fa166fa8ab60bab (diff)
start working on db reader support (#14681)
Diffstat (limited to 'config/global.ini.php')
-rwxr-xr-xconfig/global.ini.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index 60d3f53ad1..f845c2b925 100755
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -45,6 +45,19 @@ ssl_no_verify =
; Matomo should work correctly without this setting but we recommend to have a charset set.
charset = utf8
+; If configured, the following queries will be executed on the reader instead of the writer.
+; * archiving queries that hit a log table
+; * live queries that hit a log table
+; * fetching of archives when viewing a report
+; You only want to enable a reader if you can ensure there is minimal replication lag / delay on the reader.
+; Otherwise you might get corrupt data in the reports.
+[database_reader]
+host =
+username =
+password =
+dbname =
+port = 3306
+
[database_tests]
host = localhost
username = "@USERNAME@"