Home

解决在Linux连接Sqlerver老版本报错问题

Here’s the table of contents: 报错 修复 报错 The server selected protocol version TLS10 is not accepted by client preferences [TLS12] 修复 找到Java安装目录 which $JAVA_HOME 修改jre/lib/security目录下的java.security文件 /usr/lib/jvm/java-1.8.0/jre/lib/security # Example: #jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize &l...

Read more

修改节点标签和关系类型

Here’s the table of contents: 修改节点标签 修改边类型 修改节点标签 //Set a label on a node MATCH (n {name: 'Stefan'}) SET n:German RETURN n.name, labels(n) AS labels //Set multiple labels on a node MATCH (n {name: 'George'}) SET n:Swedish:Bossman RETURN n.name, labels(n) AS labels 修改边类型 //改变关系类型/名称,关系现有属性不受影响 MATCH p=()-[r:ACTED_IN]->() WHERE ID(r)...

Read more

批量后台执行Cypher脚本

Here’s the table of contents: 脚本内容 脚本内容 #!/usr/bin/env bash ################### config need to clean logs dir BASEPATH=$(pwd) CQLDIR=${BASEPATH}/cql/ echo logs absolute path:${CQLDIR} ################### get file name array function getFileArray(){ cd ${CQLDIR} j=0 for i in `ls` do folder_list[j]=${i} j=`e...

Read more

定时清除日志Shell脚本

Here’s the table of contents: 脚本内容【当前目录的logs文件夹下日志清除】 脚本内容【当前目录下所有.log结尾文件清除】 脚本内容【当前目录的logs文件夹下日志清除】 #!/usr/bin/env bash ################### log clean shell ################### delay 1s/1m/1h/1d DELAY=1d echo clean log shell execute delay is:${DELAY} ################### config need to clean logs dir BASEPATH=$(pwd) LOGDIR=${BASEPATH}...

Read more

图数据库创建一万个唯一索引会发生什么

Here’s the table of contents: 索引 图数据库报错 修改最大可打开文件数 索引 CREATE CONSTRAINT ON (n:LABEL1_20211231_1493252252_1493252293) ASSERT n.code IS UNIQUE; CREATE CONSTRAINT ON (n:LABEL2_20211231_1493252252_1493252293) ASSERT n.code IS UNIQUE; CREATE CONSTRAINT ON (n:LABEL3_20211231_1493252252_1493252293) ASSERT n.code IS UNIQUE; CREATE CONSTRAINT ON...

Read more

Cypher加载CSV文件

Here’s the table of contents: 加载CSV文件 加载CSV文件 读取为数据列表 //LOAD CSV FROM 'file:/artists.csv' AS line LOAD CSV FROM "http://data.neo4j.com/examples/person.csv" AS line RETURN * 读取为数据列表时指定CSV分隔符 LOAD CSV FROM "http://data.neo4j.com/examples/person.csv" AS line FIELDTERMINATOR '\t' RETURN * 读取为数据对象 //LOAD CSV WI...

Read more

Github.com-443解决方案

Here’s the table of contents: VPN代理问题 VPN代理问题 设置代理 git config --global http.proxy 127.0.0.1:7890 git config --global https.proxy 127.0.0.1:7890 解除代理 git config --global --unset http.proxy git config --global --unset https.proxy 配置查看 git config --global http.proxy #查看git的http代理配置 git config --global https.p...

Read more