ClickHouse Development Skill
Connect to the local development ClickHouse database to inspect schemas or run queries.
Connect
bash
mise x clickhouse -- clickhouse client --port 9001 -d gitlab_clickhouse_development -u default
Examples
bash
# Run a single command mise x clickhouse -- clickhouse client --port 9001 -d gitlab_clickhouse_development -u default --query "SHOW DATABASES" # List databases SHOW DATABASES; # List tables in the dev database SHOW TABLES; # Describe a table DESCRIBE TABLE <table_name>;
Agent Guidelines
- •Use the mise client command - Connect using the exact command above
- •Read-only by default - Prefer schema inspection and SELECT queries
- •Be explicit about database - Use
gitlab_clickhouse_developmentunless instructed otherwise