01 2020 档案

摘要:详情参考 http://nodejs.cn/api/crypto.html, http://nodejs.cn/api/buffer.html 利用 openssl 生成公钥私钥 生成公钥: openssl genrsa -out privateKey.pem 1024 生成私钥: openssl 阅读全文
posted @ 2020-01-14 14:40 江山一族 阅读(1956) 评论(0) 推荐(0)
摘要:一 、String 类 1. mysql 常用函数 length, concat, substr, upper, lower, trim,ifnull,isnull; 如果中文字段乱码: set names gbk; 2. 其他函数 (1) lpad, 左边用 \* 号填充, 总字符串为长度为 10 阅读全文
posted @ 2020-01-05 17:25 江山一族 阅读(220) 评论(0) 推荐(0)
摘要:mysql.js const mysql = require("mysql"); const poolCluster = mysql.createPoolCluster({ removeNodeErrorCount: 1, // Remove the node immediately when co 阅读全文
posted @ 2020-01-04 09:34 江山一族 阅读(1834) 评论(3) 推荐(0)