diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-07-23 02:21:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 02:21:00 +0300 |
commit | a50080b1814d0620978499e5421fffe5313433f6 (patch) | |
tree | 16e59dc9be45fd11778379df45314f0af751f602 /config | |
parent | 7faea0438eee8085fc15aa118fa166fa8ab60bab (diff) |
start working on db reader support (#14681)
Diffstat (limited to 'config')
-rwxr-xr-x | config/global.ini.php | 13 |
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@" |