![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
大大的芒果
这个作者很懒,什么都没留下…
展开
-
Redis 主从复制
哨兵模式 配置 sentinel monitor host6379 127.0.0.1 6379 1 效果 6379 / \ 6380 6381 开始初始化3012:X 10 Aug 12:19:22.869 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/som原创 2017-08-10 12:43:45 · 191 阅读 · 0 评论 -
Redis transation 事务翻译和理解
RedisTransationErrors inside a transactionDuring a transaction it is possible to encounter two kind of command errors: 在事务中可能会碰到的两种命令错误 A command may fail to be queued, so there may be an error before原创 2017-08-10 10:52:03 · 528 阅读 · 0 评论 -
DB-MySQL 备份
备份我们使用MySQL原生备份命令,编写shell脚本命令,当然我们也可以使用python#!/bin/sh cd /bak/bakmysql echo "You are in bakmysql directory" mv bakmysql* /bak/bakmysqlold echo "Old databases are moved to bakmysqlold folder" Now=$(da原创 2017-08-19 16:50:01 · 229 阅读 · 0 评论 -
MySQL Linux 手动安装 自动安装 安装教程
Linux 下自动安装Linux 下在Debian或者Ubuntu自动安装sudo apt-get update #更新 sudo apt-get upgrade # 更新 sudo apt-get build-dep mysql-server #安装 sudo apt-get source -b mysql-server #源 #有问题就 sudo apt-get -f install配置文件再原创 2017-08-10 10:59:37 · 418 阅读 · 0 评论 -
MySQL最新安装指南
MySQL 最新安装指南 下载zip 解压并创建一个my.ini [mysqld] basedir=D:\mysql-5.7.25-winx64 datadir=D:\mysql-5.7.25-winx64\data shell启动 bin/mysqld --defaults-file=my.ini --console --initialize-insecure 注册服务 bin/mys...原创 2019-01-30 16:20:37 · 168 阅读 · 1 评论