问题时这样的:我把我的redis配置文件中绑定的地址为Centos7的IP地址,启动的时候就会报:Could not connect to Redis at 127.0.0.1:6379: Connection refused,如下图 通过上图可以看出,redis是默认访问本机127.0.0.1而不 ...
分类:
其他好文 时间:
2020-08-15 22:37:29
阅读次数:
74
最近小组内部需要做一个简单小分享,不知道要分享什么,最后决定要做一次爬虫的小分享,哈哈,我也是一个初学者,于是就开始找资料,这里就把我一个简单小分享在这里描述一下 首先,我们要知道什么是爬虫,我的理解是:用代码模拟人的操作,去其他网站找到需要的东西,然后爬取下来 所以就需要先知道要爬取内容的网站地址 ...
分类:
编程语言 时间:
2020-08-15 22:21:50
阅读次数:
71
# vim /usr/local/nginx/conf/nginx.conf user dywww dywww; worker_processes auto; error_log /dydata/wwwlogs/error_nginx.log crit; pid /var/run/nginx.pid ...
分类:
其他好文 时间:
2020-08-13 22:17:03
阅读次数:
61
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n ...
分类:
其他好文 时间:
2020-08-13 12:42:41
阅读次数:
61
极简 Node.js 入门系列教程:https://www.yuque.com/sunluyong/node 本文更佳阅读体验:https://www.yuque.com/sunluyong/node/timer timer 用于安排函数在未来某个时间点被调用,Node.js 中的定时器函数实现了与 ...
分类:
Web程序 时间:
2020-08-13 12:33:18
阅读次数:
78
一.查看有哪些用户 1)select * from dba_users; //查看数据库里面所有用户,需要有dba权限的帐号执行,如sys,system 2)select * from all_users; //查看你能管理的所有用户! 3)select * from user_users; //查 ...
分类:
数据库 时间:
2020-08-13 12:25:39
阅读次数:
70
一.用户授权 1)普通权限 grant ${autoType1, autoType2, autoType3, ...} to ${userName} identified by ${password}; 例1: grant connect, resource to scott identified ...
分类:
数据库 时间:
2020-08-13 12:24:41
阅读次数:
188
promise1.promise是解决异步的一种方案,也就是让promise帮我们去处理异步,最终promise会返回异步处理的结果。2.有了promise之后,让异步处理更加灵活,还能够解决之前的回调地狱的问题。promise的使用我们需要用promise帮我们处理异步vara=newPromise(function(resolve.reject){//在这里来进行真正的异步处理setTimeo
分类:
其他好文 时间:
2020-08-13 12:01:29
阅读次数:
53
错误 解决 导入import functools 在你写的装饰器里面将函数通过 @functools.wraps(执行函数名)装饰一下 ...
分类:
移动开发 时间:
2020-08-13 11:49:17
阅读次数:
73
Error running exam-web: Address localhost:1099 is already in use: 解决办法:在cmd中输入如下命令: netstat -aon | findstr 1099:找到被占用的pid taskkill -f -pid pid:终止 如图所示 ...
分类:
Web程序 时间:
2020-08-12 15:47:51
阅读次数:
76