Forked from den-crane/CH dictionary source included
Created
February 22, 2019 09:52
-
-
Save pragmaton/f9f6f1dd642df766864d0876652140ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/metrika.xml | |
<yandex> | |
<dictmysql1> | |
<port>3306</port> | |
<connect_timeout>3600</connect_timeout> | |
<rw_timeout>3600</rw_timeout> | |
<user>userx</user> | |
<password>passwordx</password> | |
<host>hostx</host> | |
<priority>1</priority> | |
<db>dbx</db> | |
</dictmysql1> | |
</yandex> | |
# cat dict/dict1.xml | |
<dictionaries> | |
<dictionary> | |
<name>dict1</name> | |
<source> | |
<mysql incl="dictmysql1"> | |
<table>dict1</table> | |
<where>dict1key>=0</where> | |
<invalidate_query>SELECT max(updated_date) FROM dict1</invalidate_query> | |
</mysql> | |
</source> | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment