上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
摘要: 1. 备份数据库命令 mysqldump -u root -p 密码 数据库 [表名1 表名2..] > 文件路径 所有数据库: mysqldump –all-databases -u root -p 密码 > 文件路径 指定数据库: mysqldump -u root -p 密码 数据库 > 文件 阅读全文
posted @ 2020-06-12 16:06 林宇风 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 原文地址: https://www.cnblogs.com/hanyifeng/p/5756462.html 一、binlog介绍 服务器的二进制日志记录着该数据库的所有增删改的操作日志(前提是要在自己的服务器上开启binlog),还包括了这些操作的执行时间。为了显示这些二进制内容,我们可以使用my 阅读全文
posted @ 2020-06-12 14:46 林宇风 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 更新包 apt-get update 安装vim apt-get install vim -y 阅读全文
posted @ 2020-06-11 16:44 林宇风 阅读(974) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE test ( id varchar(64) NOT NULL, activityid varchar(64) DEFAULT NULL COMMENT '活动id', groupname varchar(255) DEFAULT NULL COMMENT '团体', use 阅读全文
posted @ 2020-06-09 11:05 林宇风 阅读(4066) 评论(0) 推荐(0) 编辑
摘要: nandy/redisclient New version 2.0 has released from tag 2018-12-05. docker run --name redisclient --restart always -d -p 8000:8000 nandy/redisclient G 阅读全文
posted @ 2020-06-05 10:19 林宇风 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 创建docker-compose.yml文件 version: '3' services: mysql-server: image: mysql:5.7 container_name: mysql-server restart: always ports: - 3306:3306 environme 阅读全文
posted @ 2020-06-05 09:30 林宇风 阅读(447) 评论(0) 推荐(0) 编辑
摘要: Factory method 'elasticsearchClient' threw exception; nested exception is java.lang.IllegalStateException: availableProcessors is already set to [8], 阅读全文
posted @ 2020-06-04 22:22 林宇风 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 环境: SpringBoot 2.1.4.RELEASE Elasticsearch 6.6.2 spring-boot-starter-data-elasticsearch pom引用 <dependency> <groupId>org.springframework.boot</groupId> 阅读全文
posted @ 2020-06-04 18:00 林宇风 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 基本操作 (6.x 版本) 创建索引 curl -X PUT http://192.168.183.220:9200/test -H 'Content-Type: application/json' -d' { "settings": { "number_of_shards": 5, "number 阅读全文
posted @ 2020-06-04 17:11 林宇风 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 单节点安装 创建es.yml,内容如下: version: '3' services: elasticsearch: image: elasticsearch:6.6.2 container_name: elasticsearch environment: - cluster.name=elasti 阅读全文
posted @ 2020-06-04 16:45 林宇风 阅读(848) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页