This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string. 此MongoDB部署不支持可重试写入。请将retryWrites=fa ...
分类:
数据库 时间:
2019-12-13 20:01:26
阅读次数:
184
访问php页面时,出现500错误,这是因为php代码有错误,php环境就会显示500错误状态码,对于大部分站长来说,这样的错误码不利于找出问题,如何解决呢?如果是VPS或服务器,且自己是管理员,那么可以登陆服务器找到php.ini配置文件,查找到display_errors把后面的off修改成on保 ...
分类:
Web程序 时间:
2019-12-12 01:15:25
阅读次数:
1905
错误的意思是:已达到可容忍的服务器重连接错误的最大数目。有两个解决思路:一个将这个值设置的更大;然后是排查自己连接服务哪儿出了问题。先说在哪儿设置这个值:在拉取nacos服务的注解配置中,添加一个属性maxRetry,这个值源码中默认给的是3,可以将其设置的更大一些。 1 @Configuratio ...
分类:
Web程序 时间:
2019-12-11 17:37:30
阅读次数:
2392
Linux 下 MySQL 5.7 二进制安装 数据库服务器操作系统配置可参看《Linux下MYSQL 5.6 源码安装》https://www.cnblogs.com/doctormo/p/12019550.html 这里采用的是 mysql-5.7.22-linux-glibc2.12-x86_ ...
分类:
数据库 时间:
2019-12-11 00:01:20
阅读次数:
144
1. 常见错误分类 一般的,errors可以分为以下几类: user input errors device errors or physical limitations code errors 2. 常用错误处理方式 2.1 error code 一种常用的错误处理方法是返回error code, ...
分类:
编程语言 时间:
2019-12-08 12:24:40
阅读次数:
95
1.创建一个请求类(HttpWork): HttpWork.h头文件 #pragma once #include <QObject> #include <QNetworkAccessManager> #include <QNetworkReply> #include "NetWorkCookie.h ...
分类:
Web程序 时间:
2019-12-06 09:15:58
阅读次数:
246
如图 IDEA 2018 自定义配置Maven3.6.2报错 原因 Maven3.6.2 版本兼容问题 解决方法:重新下载较低版本Maven3.6.1及以下版本可以顺利解决。(亲测有效) ...
百度了好久都没有找到答案,后来新建了一个文件夹,再build path就正常了,不知道为什么 ...
分类:
编程语言 时间:
2019-12-04 20:33:04
阅读次数:
103
core文件生成及调试1 代码 #include<stdio.h> int main() { int *p = NULL; *p = 0; return 0; } 2 在当前shell执行ulimit -c unlimited 注意:该命令只在当前shell生效,其他shell会失效ulimit - ...
分类:
系统相关 时间:
2019-12-03 18:10:42
阅读次数:
247
Go 实现 Omni Rpc 接口交互 1. Rpc 接口实现 package netimport ( "bytes" "errors" "io/ioutil" "net/http" "time" "github.com/astaxie/beego")var userName stringvar u ...
分类:
其他好文 时间:
2019-12-02 13:15:52
阅读次数:
109