mysql默认启动,会占用四百多M内存,也可以优化 打开 /etc/my.cnf skip-locking #避免MySQL的外部锁定,减少出错几率增强稳定性。 skip-name-resolve #禁止MySQL对外部连接进行DNS解析,使用这一选项可以消除MySQL进行DNS解析的时间。但需要注 ...
分类:
数据库 时间:
2021-04-12 11:45:18
阅读次数:
0
linux上执行wget报错:unable to resolve host address 爱摄影的coder 2018-07-21 10:25:19 7270 收藏 4 分类专栏: Linux 版权 使用wegt命令报错情况 [root@centosserver2 downloads]# wget ...
分类:
系统相关 时间:
2021-04-08 13:03:11
阅读次数:
0
ComponentFromSupplierSearch 在电路设计中,Altium Designer是较为常见的设计软件。但是在安装AD时,可能是会出现如下报错:AD报错内容:Unable to download extension. “ComponentFromSuplierSearch”; Er ...
分类:
其他好文 时间:
2021-04-07 11:01:28
阅读次数:
0
1:引入jar包 2:配置web.xml 声明DispatchServlet,监听请求 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmln ...
分类:
编程语言 时间:
2021-04-07 10:39:48
阅读次数:
0
class MyPromise { constructor(executor) { this.state = 'pending'; this.value = null; try { executor(this.resolve.bind(this),this.reject.bind(this)); } ...
分类:
其他好文 时间:
2021-04-06 14:22:04
阅读次数:
0
When dealing with `fs` library, the common problem you will meet is the path to file. Different envs may have different way to handle the path. The be ...
分类:
Web程序 时间:
2021-03-30 13:42:21
阅读次数:
0
const { resolve } = require("path") const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry: './src/index.js', output: { fil ...
分类:
Web程序 时间:
2021-03-29 12:08:56
阅读次数:
0
node和python默认的rsa加密方式是不一样,要调整一下。 node代码: const fs = require('fs'); const NodeRSA = require('node-rsa'); const path = require('path').resolve(); const ...
分类:
编程语言 时间:
2021-03-29 11:41:58
阅读次数:
0
当Promise 被 reject 且没有 reject 处理器的时候,会触发 unhandledrejection 事件; // 未处理 rejection new Promise((resolve, reject) => { setTimeout(() => reject('woops'), 5 ...
分类:
其他好文 时间:
2021-03-18 14:44:10
阅读次数:
0
mysql命令行报错: 如下: mysql> use mysqlERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql' 解决方法: 打开my.ini(linux下时my.cnf)文件,在[mysqld ...
分类:
数据库 时间:
2021-03-18 14:24:12
阅读次数:
0