摘要:
1、1032错误 此问题很常见,大多是由于主从延迟,例如主中的新增和删除操作连续同步到从库,但是从库的删除先进行了,那么此时就会报1032错误.常见的错误消息内容(来自https://www.cnblogs.com/langdashu/p/5920436.html)如下: Slave_SQL_Run 阅读全文
摘要:
1、查看所有索引基本信息 GET _cat/indices?v 2、查看索引的mapping GET test/_mapping 此处查看test的mapping 阅读全文
摘要:
1、相关日志 包含rabbitmq以及.net客户端的变更以及升级详情 2、rabbitmq安装方式介绍 windows下的安装方式主要有以下两种: (1)、Using chocolatey (2)、Using the Installer 本文主要介绍第二种安装包的方式,相比第一种其主要有以下优势 阅读全文
摘要:
解决方案下面查找文件夹路径 /.vs/config/applicationhost.config中找到如下节点 <sites> <site name="WebSite1" id="1" serverAutoStart="true"> <application path="/"> <virtualDi 阅读全文
摘要:
1、常用sql查询语句 (1)、统计数据库中所有表的记录数 select table_name,table_rows from information_schema.tables where TABLE_SCHEMA='数据库名' order by table_rows desc; (2)、sele 阅读全文
摘要:
配置文件如下: #user nobody; worker_processes 1; error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx. 阅读全文
摘要:
本文争对nginx-1.22.0 nginx的核心配置文件是nginx.conf. 1、基本配置 (1)、worker_processes 定义工作进程的数量 最佳值取决于许多因素,包括(但不限于)CPU内核的数量、存储数据的硬盘驱动器的数量以及负载模式。当有人怀疑时,将其设置为可用CPU内核的数量 阅读全文
摘要:
相关命令的执行都在windows服务器下,且工作目录就是mysql server的bin目录下. 1、mysqldump 全备份 mysqldump -h127.0.0.1 -u用户名 -p"密码" 数据库名称 有表的话写表名称 --single-transaction --master-data= 阅读全文
摘要:
1、下载 http://nginx.org/en/download.html 2、运行 解压缩nginx压缩包,cmd切换到解压目录执行 start nginx 接着执行以下命令 tasklist /fi "imagename eq nginx.exe" 安装成功,浏览器输入http://local 阅读全文