CREATE ROLE OR REPLACE testrole GRANT CREATE USER, ALTER USER, DROP USER, SHOW USERS, SHOW CREATE USER ON *.* TO 'testrole' WITH GRANT OPTION; CREATE TABLE TestTable (id UInt64) ENGINE=TinyLog SELECT 1; SELECT * FROM system.query_log LIMIT 1 SELECT 1 SETTINGS skip_unavailable_shards = 1 SELECT 1; SELECT 1 SETTINGS skip_unavailable_shards = 1 SELECT 1;