摘要: 1. 得到一个clickhouse连接: import ( "context" "fmt" "log" "github.com/ClickHouse/clickhouse-go/v2" "github.com/ClickHouse/clickhouse-go/v2/lib/driver" ) fun 阅读全文
posted @ 2023-09-11 17:29 若-飞 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 1. mysql创建一个用于clickhouse的账号mysql_clickhouse并且授权 CREATE USER 'mysql_clickhouse'@'%' IDENTIFIED BY 'Password123!'; GRANT ALL PRIVILEGES ON *.* TO ‘mysql 阅读全文
posted @ 2023-09-11 11:53 若-飞 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 1. 官方文档: https://clickhouse.com/docs/en/install 2. docker安装server: sudo docker run -d -e CLICKHOUSE_DB=default -e CLICKHOUSE_USER=default -e CLICKHOUS 阅读全文
posted @ 2023-09-11 11:31 若-飞 阅读(308) 评论(0) 推荐(0) 编辑