Skip to content

Commit 190d22a

Browse files
committed
admin user
1 parent d02d558 commit 190d22a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

infra/clickhouse/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@
537537
<!-- Path to data directory, with trailing slash. -->
538538
<path>/var/lib/clickhouse/</path>
539539

540-
<!-- Multi-disk configuration with R2 storage -->
540+
<!-- Multi-disk configuration -->
541541
<storage_configuration>
542542
<disks>
543543
<default>

infra/clickhouse/users.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,21 @@
9898
</grants>
9999
-->
100100
</default>
101+
102+
<!-- Admin user with full privileges -->
103+
<admin>
104+
<password>analyticsarecool</password>
105+
<networks>
106+
<ip>::/0</ip>
107+
</networks>
108+
<profile>default</profile>
109+
<quota>default</quota>
110+
<access_management>1</access_management>
111+
<named_collection_control>1</named_collection_control>
112+
<grants>
113+
<query>GRANT ALL ON *.*</query>
114+
</grants>
115+
</admin>
101116
</users>
102117

103118
<!-- Quotas. -->

0 commit comments

Comments
 (0)