摘要: Promise的基本用法 new Promise( function(resolve, reject) {...} ); //reject参数 可不选 executor executor是带有 resolve 和 reject 两个参数的函数 。Promise构造函数执行时立即调用executor 阅读全文
posted @ 2020-08-04 21:13 方诚 阅读(2494) 评论(0) 推荐(0) 编辑
摘要: mysql软件安装 至少需要安装一个mysql客户端,即要有mysql这个命令;也可以直接安装一个mysql数据库,不用可以不启动; clickhouse服务端配置mysql端口 vim /etc/clickhouse-server/config.xml <mysql_port>9004</mysq 阅读全文
posted @ 2020-08-04 18:20 方诚 阅读(4569) 评论(0) 推荐(0) 编辑
摘要: 测试初始化 clickhouse-client -m create database if not exists test; use test; drop table test; create table test(id UInt8, text String, created DateTime) E 阅读全文
posted @ 2020-08-04 17:54 方诚 阅读(10369) 评论(1) 推荐(1) 编辑
摘要: 官网 https://clickhouse.tech/ quick start ubantu wget https://repo.yandex.ru/clickhouse/deb/lts/main/clickhouse-common-static-dbg_20.3.9.70_amd64.deb wg 阅读全文
posted @ 2020-08-04 16:30 方诚 阅读(2918) 评论(0) 推荐(0) 编辑