docker配置mysql主从复制 主库 拉取镜像 docker pull mysql 查看镜像 docker images 创建主从配置文件目录 mkdir /data/docker/mysql/{master,slave} -pv 配置主配置文件 vi /data/docker/mysql/ma ...
分类:
数据库 时间:
2019-01-29 14:58:46
阅读次数:
221
1. 新建数据库,表 2.查看数据库表 3.创建主键与自增长 4.非空、默认与唯一约束 5.重命名、添加字段 ...
分类:
数据库 时间:
2019-01-29 10:48:59
阅读次数:
132
原文:004.MySQL主库手动复制至从库一 主库手动复制至从库 1.1 Master主库锁表 1 mysql> flush tables with read lock; 2 Query OK, 0 rows affected (0.00 sec) 1.2 主库备份 1 [root@master ~... ...
分类:
数据库 时间:
2019-01-28 12:05:48
阅读次数:
175
https://leetcode.com/problems/spiral-matrix/ Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. ...
分类:
其他好文 时间:
2019-01-27 16:45:39
阅读次数:
157
算法描述: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed ...
分类:
其他好文 时间:
2019-01-27 16:36:03
阅读次数:
150
参考文档https://github.com/goharbor/harbor-helmhttps://docs.helm.sh/using_helm/#installing-helmhttps://github.com/goharbor/harbor/blob/master/docs/kubernetes_deployment.mdhttps://github.com/goharbor/harbo
分类:
Web程序 时间:
2019-01-27 13:09:18
阅读次数:
458
On the way to school, Karen became fixated on the puzzle game on her phone! The game is played as follows. In each level, you have a grid with n rows ...
分类:
其他好文 时间:
2019-01-26 12:40:39
阅读次数:
185
一、对当前的session使用oradebug命令: SQL> conn / as sysdba Connected. SQL> oradebug setmypid Statement processed. 或者对其他session做跟踪 --连接到一个外部服务进程,且pid=v$process.p ...
分类:
其他好文 时间:
2019-01-25 23:51:39
阅读次数:
280
在青云上创建centos 6.4后,习惯性的安装emacs. 结果遇到报错信息: # yum install emacs Loaded plugins: fastestmirror Determining fastest mirrors Error: Cannot retrieve metalink ...
分类:
其他好文 时间:
2019-01-25 20:25:03
阅读次数:
152
There is a pond with a rectangular shape. The pond is divided into a grid with H rows and W columns of squares. We will denote the square at the i-th ...
分类:
其他好文 时间:
2019-01-25 15:09:20
阅读次数:
252